mirror of
https://github.com/coredns/coredns.io.git
synced 2024-04-21 12:32:00 +00:00
506 B
506 B
+++ title = "debug" description = "debug disables the automatic recovery upon a CoreDNS crash so that you'll get a nice stack trace. " weight = 5 tags = [ "middleware" , "debug" ] categories = [ "middleware" ] date = "2017-07-24T15:25:40+00:00" +++
Note that the errors middleware (if loaded) will also set a recover negating this setting.
The main use of debug is to help testing.
Syntax
debug
Examples
Disable CoreDNS' ability to recover from crashes:
debug