[
https://issues.apache.org/jira/browse/NETBEANS-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16788172#comment-16788172
]
Petr Chmelar edited comment on NETBEANS-1320 at 3/9/19 2:12 PM:
----------------------------------------------------------------
This concerns NB 10 as well. It is not possible to debug any JS code on Ubuntu
18.04 (node v8.10.0):(
{code}
"/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
{code}
Also, the debug doesn't stop itself (I must stop it by Shift+F5) and may cause
NB to consume all CPU and ... xkill.
was (Author: p3):
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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists