Added debug.lua; very much not done yet