Get debugger basically working in simulator