Red Hat Bugzilla – Bug 1001179
Allow users to debug node.js applications
Last modified: 2015-05-14 19:12:46 EDT
Description of problem:
There's currently no obvious way for users to debug node.js applications.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Try to remote debug a node.js application using Eclipse/NodeSDK as it is described here: https://github.com/joyent/node/wiki/Using-Eclipse-as-Node-Applications-Debugger. This requires the user to be able to attach the Eclipse debugger to port :5858. Ideally a user would be able to forward port 5858 to his local machine and attach the debugger to it. For as7/eap6 we currently have the debugging port forwardable/exposed as soon as the user adds the enable_jpda marker. I guess that a similar approach for node-js would be great.
There's currently no way
FYI there's a lengthy list of available tools to debug node applications at http://stackoverflow.com/questions/1911015/how-to-debug-node-js-applications.
I guess this will require to allow users opening ports, which is WIP now.
Please track progress at https://trello.com/c/QdAd3PBl/104-8-enable-users-to-remotely-debug-a-node-js-application