Files
coredns.io/content/plugins/debug.md
T
2017-10-20 08:48:28 +00:00

28 lines
493 B
Markdown

+++
title = "debug"
description = "*debug* disables the automatic recovery upon a crash so that you'll get a nice stack trace."
weight = 6
tags = [ "plugin", "debug" ]
categories = [ "plugin" ]
date = "2017-10-20T08:48:19.234792"
+++
Note that the *errors* plugin (if loaded) will also set a `recover` negating this setting. The main
use of *debug* is to help testing.
## Syntax
~~~ txt
debug
~~~
## Examples
Disable the ability to recover from crashes:
~~~ corefile
. {
debug
}
~~~