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.

Bug 258431 - Please add functionality to remote debug an application
Summary: Please add functionality to remote debug an application
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Node.js Debugger (show other bugs)
Version: 8.2
Hardware: PC Other
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-18 13:10 UTC by Christian Lenz
Modified: 2016-03-21 10:06 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lenz 2016-03-18 13:10:45 UTC
With xdebug you can debug applications, which are not on your local machine, so simply called remote debugging. This feature is in java also available, I think, but this feature is missing for nodejs applications. This is a must have, only my opinion to have remote debugging for nodejs applications.


Regards

Chris
Comment 1 Martin Entlicher 2016-03-18 17:23:00 UTC
The feature is already there.
Go to main menu Debug -> Attach Debugger... and then select "Node.js Server" from the upper combo box. Fill in Host and Port and you're done. Optionally you can specify which local files correspond to the server path.
Hope it works fine for you.
Comment 2 Christian Lenz 2016-03-21 10:06:43 UTC
Cool didn't notice that. Had to have a look at the attach debugger section. Will test it soon. Thx :)