You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Petr Chmelar (JIRA)" <ji...@apache.org> on 2019/03/08 18:42:00 UTC

[jira] [Commented] (NETBEANS-1320) Could not debug node.js application from IDE

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

Petr Chmelar commented on NETBEANS-1320:
----------------------------------------

This concerns NB 10 as well. It is not possible to debug any JS code on Ubuntu 18.04 (node v8.10.0):(

"/usr/bin/node" "--jvm.agentlib:jdwp=transport=dt_socket,address=43181,server=n,suspend=y" "/home/.../main.js"
/usr/bin/node: bad option: --jvm.agentlib:jdwp=transport=dt_socket,address=43181,server=n,suspend=y

Also, the debug doesn't stop itself (I must stop it by Shift+F5) and may cause NB to consume all CPU and ... xkill.

> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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