mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-03 18:53:13 -05:00 
			
		
		
		
	* Add manual pages Generate manual pages from the README and extend README with Name and Description sections. The generation requires 'ronn' which may not be available. Just check in all generated manual pages.
		
			
				
	
	
		
			29 lines
		
	
	
		
			461 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			461 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
# debug
 | 
						|
 | 
						|
## Name
 | 
						|
 | 
						|
*debug* - disables the automatic recovery upon a crash so that you'll get a nice stack trace.
 | 
						|
 | 
						|
## Description
 | 
						|
 | 
						|
Normally CoreDNS will recover from panics, using *debug* inhibits this. The main use of *debug* is
 | 
						|
to help testing.
 | 
						|
 | 
						|
Note that the *errors* plugin (if loaded) will also set a `recover` negating this setting. 
 | 
						|
 | 
						|
## Syntax
 | 
						|
 | 
						|
~~~ txt
 | 
						|
debug
 | 
						|
~~~
 | 
						|
 | 
						|
## Examples
 | 
						|
 | 
						|
Disable the ability to recover from crashes:
 | 
						|
 | 
						|
~~~ corefile
 | 
						|
. {
 | 
						|
    debug
 | 
						|
}
 | 
						|
~~~
 |