Move debugger to beforeLaunch