[ 
https://issues.apache.org/jira/browse/NETBEANS-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789435#comment-16789435
 ] 

Andre Schild commented on NETBEANS-1320:
----------------------------------------

[~Chrizzly] The problem is not so easy to solve.

The whole debugging protocol of nodejs has changed in v8, and not only the 
command line arguments to start debugging.

So the task would be to:
 # Detect nodejs v8 or higher
 # Use the new v8 command line arguments to start nodejs in debugger mode
 # Implement the new v8 inspect protocoll in netbeans, to be able to use the 
new version at all

 

Items 1+2 are not that big to implement, but won't solve the problem, until 3 
is also implemented.

Item 3 might also have to do or benefit from issue #16 
(https://issues.apache.org/jira/browse/NETBEANS-16)

 

> Could not debug node.js application from IDE
> --------------------------------------------
>
>                 Key: NETBEANS-1320
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1320
>             Project: NetBeans
>          Issue Type: Bug
>          Components: javascript - Node.js
>    Affects Versions: 9.0, 10.0
>            Reporter: Apostolos Katranitsas
>            Priority: Major
>
> Could not debug node.js application because option --debug[-brk] has changed 
> to --inspect[-brk] since node.js version 8.
> Also I don't know if the --inspect[-brk] options is working the same as the 
> --debug[-brk] option.
>  
> The file in question is the 
> [NodeExecutable.java|http://hg.netbeans.org/main/file/tip/javascript.nodejs/src/org/netbeans/modules/javascript/nodejs/exec/NodeExecutable.java].
> As the options is hard coded in the file, someone could alter the text of the 
> option or detect if node.js version is >= 8 then use the inspect option.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to