debugger: Added missing (temporary?) dependency
debugger: Stop wrapper func from being rewritten on system rewrite
debugger: Made Global variables available again