Menu

#971 Defining the global variable "test" to a non-zero value activates the debugger

Unscheduled
assigned
None
none
core
minor
trunk
defect
2016-07-05
2016-07-05
No

This either a bug or an undocumented "feature". Normally, the global debugger (internally global_debug_mode) is used to enable the debugger. For some reason though, test maps to the same internal global_debug_mode. It was probably meant to map to global_test_mode, but that variable doesn't exist or have any purpose. Test modes are initiated directly using the --test command line option to trigger module tests.

Discussion