Adapt debug.launch to run as standalone