Add _debug shortcut

This shortcut makes it easier to test for the presence of the `$debug`
variable.