This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Node.js v8.1.3 cannot be debugged | ||
---|---|---|---|
Product: | javascript | Reporter: | ttampe <ttampe> |
Component: | Node.js Debugger | Assignee: | Martin Entlicher <mentlicher> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Windows 10 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | messages.log |
Description
ttampe
2017-08-05 09:19:21 UTC
Since NodeJS v8 will become the LTS soon (October 2017), it would be nice to make the debug command line parameters depend on the NodeJS version --debug for version < 7 (e.g. v6.11.2 LTS) --inspect for version >= 7 I am very impressed about NetBeans support of node.js. Imagine if something like this would happen with Java, that from one version to another, the debugger would start working. Node v9.10.1 will not even run it, if --debug is used will just exit with msg: (node:23502) [DEP0062] DeprecationWarning: `node --debug` and `node --debug-brk` are invalid. Please use `node --inspect` or `node --inspect-brk` instead. So can't debug anything on node v9 in NetBeans IDE 8.2. Node v9.10.1 will not even run it, if --debug is used will just exit with msg: (node:23502) [DEP0062] DeprecationWarning: `node --debug` and `node --debug-brk` are invalid. Please use `node --inspect` or `node --inspect-brk` instead. So can't debug anything on node v9 in NetBeans IDE 8.2. Node v9.10.1 will not even run it, if --debug is used will just exit with msg: (node:23502) [DEP0062] DeprecationWarning: `node --debug` and `node --debug-brk` are invalid. Please use `node --inspect` or `node --inspect-brk` instead. So can't debug anything on node v9 in NetBeans IDE 8.2. |