Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#67161 - [code] Debugging doesn't work after Node.js update to 14.5.0
Attached to Project:
Community Packages
Opened by Vuk Mirovic (wooque) - Wednesday, 01 July 2020, 09:47 GMT
Last edited by freswa (frederik) - Saturday, 04 July 2020, 21:10 GMT
Opened by Vuk Mirovic (wooque) - Wednesday, 01 July 2020, 09:47 GMT
Last edited by freswa (frederik) - Saturday, 04 July 2020, 21:10 GMT
|
DetailsDescription:
Debugging doesn't work after Node.js update to 14.5.0 Additional info: * package version(s) 1.46.1 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: Create javascript file with just simple console.log, try to run debugger, you'll get error: /usr/bin/node /home/vuk/bla/bla.js Debugger listening on ws://127.0.0.1:40003/6fd37a30-7525-4a30-bd94-99355a2ea44d For help, see: https://nodejs.org/en/docs/inspector Error in the js-debug bootloader, please report to https://aka.ms/js-dbg-issue: Error [ERR_INSPECTOR_ALREADY_ACTIVATED]: Inspector is already activated. Close it with inspector.close() before activating it again. at Object.inspectorOpen [as open] (inspector.js:137:11) at /usr/lib/code/extensions/ms-vscode.js-debug/src/bootloader.bundle.js:1:86060 at /usr/lib/code/extensions/ms-vscode.js-debug/src/bootloader.bundle.js:1:86087 at Object.<anonymous> (/usr/lib/code/extensions/ms-vscode.js-debug/src/bootloader.bundle.js:1:86383) at n (/usr/lib/code/extensions/ms-vscode.js-debug/src/bootloader.bundle.js:1:110) at /usr/lib/code/extensions/ms-vscode.js-debug/src/bootloader.bundle.js:1:902 at Object.<anonymous> (/usr/lib/code/extensions/ms-vscode.js-debug/src/bootloader.bundle.js:1:912) at Module._compile (internal/modules/cjs/loader.js:1201:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1221:10) at Module.load (internal/modules/cjs/loader.js:1050:32) Process exited with code 0 |
This task depends upon
Quickly : in launch.json, if you have "type": "pwa-node", replace with "type": "node".
VSC Developpers have modified the behavior of debug config :
https://code.visualstudio.com/updates/v1_46#_automatic-debug-configurations-improvements
Last release is 14.5.1.
What is recommended : delete the file launch.json first, and start debugging, you will be prompted to choose from a list : select node.js