Questions tagged [node-debugger]

Remote debugger and debugging client that comes built-in with Node.js.

Resources

74 questions
2
votes
0 answers

WebStorm console.log(arguments) breaks node debugger

While debugging in WebStorm (2016.1), the debugger breaks after console.log(arguments). Here's an example: function breakDebug() { console.log(arguments); } breakDebug(); console.log("still kickin'"); // WS will not stop on breakpoint…
LavaScornedOven
  • 737
  • 1
  • 11
  • 23
2
votes
0 answers

Having trouble remotely debugging nodejs from headless server

I'm running node from a headless ubuntu server and I'm having trouble reaching node-inspector from an external browser. I can do it on another server of mine that had an older version of node or node-inspector, by navigating to this link and…
Rho
  • 370
  • 2
  • 10
2
votes
1 answer

Protractor: element.click, element.sendKeys and friends from a browser.debugger breakpoint?

In using protractor, I've found browser.debugger() and the element explorer hugely useful. What I'd like to do with tests that require more setup is pause execution with the debugger and enter a REPL similar to the element explorer. I can get really…
Neil Sarkar
  • 6,834
  • 8
  • 32
  • 30
1
vote
1 answer

Node vs-code debugger is showing unbound breakpoint in Docker

After much exploration I made the ts debugger work for specific port and also need to compile the .ts while doing live reload using nodemon. I was getting the same unbound breakpoint when I ran app without docker, but after changing the launch file…
Mr X
  • 1,637
  • 3
  • 29
  • 55
1
vote
0 answers

How to Silence Node.js Debugger Messages in Visual Studio Code

Whenever I run a Node.js project in Visual Studio Code, the following messages are displayed in the terminal: Debugger listening on ws://127.0.0.1:53142/6203fcf4-5860-4fae-9203-340b57f67547 For help, see:…
1
vote
0 answers

Is there any way to add arguments to a command in the Nuclide debugger in atom?

I've been trying to get the Nuclide debugger set up in atom. I've installed the atom-ide-ui and atom-ide-debugger-node packages, and can see and open the Nuclide debugger. However, I want to run yarn test_shared as my command, but the debugger only…
1
vote
0 answers

Debugging Error for Node app

I recently cloned a web application (Node.js/Express + React), which I am trying to debug. I have tried using the node-debugger and also tried to use my WebStorm configuration to run the application in debug mode. The error I see in both the cases…
RRP
  • 2,563
  • 6
  • 29
  • 52
1
vote
1 answer

Node catch() error doesn't show file the error occured

I am using the new --inspect parameter in node to debug my application with Chrome Developer Tools. I have a very basic catch at the end of my promise chain but the errors returned are not showing clearly where they came from. Am I able to see which…
Jamie Hutber
  • 26,790
  • 46
  • 179
  • 291
1
vote
1 answer

How can I see the contents of a JavaScript Map using the node debugger?

I am using the console debugger in NodeJS and want to watch a Map object. Here is the simple test script I want to practice on. 'use strict' const data = new Map() const readline = require('readline-sync') let input do { input =…
Mark Tyers
  • 2,961
  • 4
  • 29
  • 52
1
vote
0 answers

How to filter files from Node.js Debugger

When using the Node.js Debugger with Chrome DevTools it's desirable to only debug the code you have written, and skip over code in node_modules. This can be done by blackboxing node_modules. However Node.js's own javascript code is not clearly under…
sabrehagen
  • 1,517
  • 1
  • 13
  • 38
1
vote
0 answers

How to debug a node.js app with gulp tasks in WebStorm

I'd like to enable debugging with a node.js app using Walmart's Electrode framework: http://www.electrode.io/ I can simply set the debug configuration to watch server/index.js, but I don't know if that is the right way considering all the gulp…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
1
vote
1 answer

Nodejs built-in debugger shows blank page

I am running node v6.9.1 on OS X. I am running a script using sudo node --inspect