Fixed the debug() method (mapped to _debug() print_d() print_debug() _DBG() in Lua)