This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 150807 [details] IDE log Please try to: - debug NodeJS project (e.g. sample project Messages) - finish debugging - in Output window, press Rerun button => IDE somehow starts debugger, but it is stuck on "/usr/local/bin/node" "--debug-brk=9292" "/home/vriha/projects/tripplanner/server/src/server.js" debugger listening on port 9292 and nothing happens. It seems like only browser debugger is running as Debugging window is closed and if I open it, it just shows "Program is running" and no combo box to switch debuggers Thank you Product Version: NetBeans IDE Dev (Build 201412010001) Java: 1.7.0_71; Java HotSpot(TM) Client VM 24.71-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_71-b14 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
*** Bug 250303 has been marked as a duplicate of this bug. ***
Reproduced.
Can you please look Tomasi at how debugger could be re-launched on rerun? Thanks.
Unfortunately, currently there is no (at least easy) way to rerun node.js with debugger. The reason is that we need the node.js task (process) itself to be able to stop it once debugger is stopped - and this is currently not possible. Petr promised that he will try to improve ExtExecution API. So, for now, rerun action is disabled for debug action. Thanks. http://hg.netbeans.org/web-main/rev/e6b132ad847a
Integrated into 'main-silver', will be available in build *201503270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e6b132ad847a User: Tomas Mysik <tmysik@netbeans.org> Log: #249029 - Rerun action does not work correctly for NodeJS debugger Disabled for now since we need the task itself (Future<Integer>) to be able to stop it once debugger finishes.
Good enough for me :) Thank you, verified Product Version: NetBeans IDE Dev (Build 201503300001) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.13.0-45-generic running on amd64; UTF-8; en_US (nb)
Rerun will be enabled once issue #252283 is fixed.
Even debugger rerun is possible now...
Done, please verify. Thanks. http://hg.netbeans.org/web-main/rev/d203dd8cd4df
Integrated into 'main-silver', will be available in build *201505200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d203dd8cd4df User: Tomas Mysik <tmysik@netbeans.org> Log: #249029 cont'd - Rerun action does not work correctly for NodeJS debugger Rerun enabled for debug as well.