private static void runDebug(PythonRunnerConfig config, ILaunch launch, IProgressMonitor monitor)
throws CoreException, IOException, JDTNotAvailableException {
if (monitor == null)
monitor = new NullProgressMonitor();
IProgressMonitor subMonitor = new SubProgressMonitor(monitor, 5);
subMonitor.beginTask("Launching python", 1);
// Launch & connect to the debugger
RemoteDebugger debugger = new RemoteDebugger();
debugger.startConnect(subMonitor, config);
subMonitor.subTask("Constructing command_line...");