- add backwards compatibility for debug and debug_format.
- deprecate debug_format, but not 'debug'