When I use --nolazy, I can finally debug asynchronously with IntelliJ, as breakpoints stop at the correct place. But I can't find any docs on --nolazy...
What does --nolazy mean?
I am trying to debug what appears to be a socket error in the node.js https library environment when running in the AWS Lambda environment (Node.js 4.3). This issue only occurs highly intermittently and only under heavy load. My team has been able…
This feels really silly, but I can't get node inspector / node-debug to work.
The instructions say to do npm install then to run node-debug web.js. So I did that. Now I have a lovely browser window open showing me my code with breakpoints... and no…
I have a dependency that is written in TypeScript. The dependency includes source maps and original source in the NPM package. If I set a breakpoint in my code and then step into the dependency, it correctly steps into the TypeScript rather than…
Debugging node apps using node-inspector is pretty simple if you're scripting using JavaScript or compiled Coffee (coffee -c -m script.coffee).
However, when using the coffeescript require handler:
require('coffee-script/register');
…
I run this at the command line:
$ node --inspect --debug-brk test/src/dev/node/define/1.test.js
Debugger listening on ws://127.0.0.1:9229/93a5524a-ae0a-4aa2-a985-3cd6ac6a2b9f
For help see https://nodejs.org/en/docs/inspector
normally this commands…
When I debug my node rest api, I try to use node-inspector
node-inspector
node --debug server.js
This way I can debug my api using localhost:3000/api...
If I use node-debug, there's no way. It doens't start port 3000.
However my code is ES6, so in…
I'm trying to use node-debug to debug my CLI node script. According to everything I've read, I should simply be able to run my script with node-debug, which will start the script with --debug-brk, and open my browser to the node-inspector…
Whenever I want to launch VS code's debugger, it runs for a second or two and then stops with the message "Debugger attached.
Waiting for the debugger to disconnect...
in the debugger console. link to the debugger screenshot
{
// Use…
I'm using node v6.10.0 and trying to figure out why my --debug-brk is so incredibly slow. Without this flag (with just --inspect or --debug), it's almost instantaneous, though the debugger still takes forever to attach.
This one flag dramatically…
How to run two script at once with npm run?
First of all I know grunt or gulp but I want to make it without another js modules.
To make this I have this script:
"scripts": {
"start": "node ./node/www",
"nodemon": "./node_modules/.bin/nodemon…
I set a new breakpoint using setBreakpoint(3) (where 3 is the line number).
If I want to remove it I can use clearBreakpoint(3), but how can I remove all breakpoints added this way?
What is fix, if found error message *nodemon' is not recognized as an internal or external command,
operable program or batch file. * after hitting command nodemon index in your node project the
Is there any means of having the node-inspector CLI (or any CLI-based debugger) display the original typescript file when debugging?
For example, for debugging typescript, I usually run something like: nodemon -e ts -w src -x "tsc -p . && node…
I recently changed from a development role to a QA role. In setting up the QA project, the instructions I have give configuration requirements for WebStorm. I however much prefer to use VSCode.
I'm trying to convert WebStorm debug configuration…