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.