2017-06-13 15:47:17 -07:00
|
|
|
# debug
|
|
|
|
|
|
2017-10-20 09:47:43 +01:00
|
|
|
*debug* disables the automatic recovery upon a crash so that you'll get a nice stack trace.
|
2017-07-24 08:24:53 -07:00
|
|
|
|
2017-10-10 09:39:35 +02:00
|
|
|
Note that the *errors* plugin (if loaded) will also set a `recover` negating this setting. The main
|
|
|
|
|
use of *debug* is to help testing.
|
2017-06-13 15:47:17 -07:00
|
|
|
|
|
|
|
|
## Syntax
|
|
|
|
|
|
|
|
|
|
~~~ txt
|
|
|
|
|
debug
|
|
|
|
|
~~~
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
2017-10-20 09:47:43 +01:00
|
|
|
Disable the ability to recover from crashes:
|
2017-06-13 15:47:17 -07:00
|
|
|
|
2017-09-15 09:56:05 +01:00
|
|
|
~~~ corefile
|
|
|
|
|
. {
|
|
|
|
|
debug
|
|
|
|
|
}
|
2017-06-13 15:47:17 -07:00
|
|
|
~~~
|