Skip to content

Commit c046b83

Browse files
author
Lamb
committed
--debug-brk
1 parent 9f317f6 commit c046b83

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

org.nodeclipse.debug/src/org/nodeclipse/debug/launch/LaunchConfigurationDelegate.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void launch(ILaunchConfiguration configuration, String mode, ILaunch laun
3636
// Application path should be stored in preference.
3737
cmdLine.add(Constants.NODE);
3838
if (mode.equals(ILaunchManager.DEBUG_MODE)) {
39-
cmdLine.add(ILaunchManager.DEBUG_MODE);
39+
cmdLine.add("--debug-brk=5858");
4040
}
4141
String file = configuration.getAttribute(Constants.FILE, Constants.BLANK);
4242
String filePath = ResourcesPlugin.getWorkspace().getRoot().findMember(file).getLocation().toOSString();
@@ -47,10 +47,10 @@ public void launch(ILaunchConfiguration configuration, String mode, ILaunch laun
4747
// Launch a process to debug.eg,
4848
Process p = DebugPlugin.exec(cmds, null);
4949
IProcess process = DebugPlugin.newProcess(launch, p, Constants.PROCESS_MESSAGE);
50-
if (mode.equals(ILaunchManager.DEBUG_MODE)) {
51-
DebugTarget target = new DebugTarget(launch, process, p);
52-
launch.addDebugTarget(target);
53-
}
50+
// if (mode.equals(ILaunchManager.DEBUG_MODE)) {
51+
// DebugTarget target = new DebugTarget(launch, process, p);
52+
// launch.addDebugTarget(target);
53+
// }
5454

5555
}
5656

0 commit comments

Comments
 (0)