Move debugger from a global to a local system