Debugging
reload
--reload
False
Restart workers when code changes.
This setting is intended for development. It will cause workers to be restarted whenever application code changes.
The reloader is incompatible with application preloading. When using a paste configuration be sure that the server block does not import any application code or the reload will not work as designed.
The default behavior is to attempt inotify with a fallback to file system polling. Generally, inotify should be preferred if available because it consumes less system resources.
Note
In order to use the inotify reloader, you must have the inotify
package installed.
reload_engine
--reload-engine STRING
auto
The implementation that should be used to power reload.
Valid engines are:
- ‘auto’
- ‘poll’
- ‘inotify’ (requires inotify)
New in version 19.7.
reload_extra_files
--reload-extra-file FILES
[]
Extends reload option to also watch and reload on additional files (e.g., templates, configurations, specifications, etc.).
New in version 19.8.
spew
--spew
False
Install a trace function that spews every line executed by the server.
This is the nuclear option.
check_config
--check-config
False
Check the configuration.