Bug 1001179 - Allow users to debug node.js applications
Summary: Allow users to debug node.js applications
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jhon Honce
QA Contact: libra bugs
URL: https://www.openshift.com/forums/open...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-26 15:51 UTC by Andre Dietisheim
Modified: 2015-05-14 23:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-09 15:49:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andre Dietisheim 2013-08-26 15:51:58 UTC
Description of problem:
There's currently no obvious way for users to debug node.js applications.

Version-Release number of selected component (if applicable):


How reproducible:
always

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.
Actual results:
There's currently no way 

Expected results:


Additional info:

Comment 1 Andre Dietisheim 2013-08-26 18:03:58 UTC
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.

Comment 2 Michal Fojtik 2013-09-09 10:09:42 UTC
I guess this will require to allow users opening ports, which is WIP now.


Note You need to log in before you can comment on or make changes to this bug.