[ https://issues.apache.org/jira/browse/NETBEANS-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789472#comment-16789472 ]
Christian Lenz commented on NETBEANS-1320: ------------------------------------------ Hey [~a.schild] thx for pointing that out. I can understand, that this is not that easy topic, I only wanted to say, that we should change one to another but let the old one as it is and implement the new one + make it customizable. Because what will happen in Node 20? No one knows, but arguments and stuff can be deprecated as it is now. This is why I said, we should make it customizable, instead of make it hard coded, because we need to change the code again and again. I think that VS Code can handles it different, with a json file, for debugging. So restrictions, no hardcoded stuff, just customizable. Same for IntelliJ. You can add arguments, via an input field. Nothing is hardcoded. Sure, we need to add another updated version of the V8 stuff, but only this, not the arguments. > 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