Questions tagged [node-debugger]

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

Resources

74 questions
0
votes
1 answer

Source map doesn't work in vscode (nodemon debugging) in entire application

I have nodemon debug configuration with vscode (github repo) . Sourcemap while debugging doesn't work excepts on place (express route). I am wondering why is that : .vscode/launch.json { "version": "0.2.0", "configurations": [ { …
0
votes
1 answer

debugger; doesn't work within function code block

I have started using Node Debugger but ran into an issue with placing the debugger; within a function code block. For example: let listAll = () => { debugger; console.log('getting all notes') } When inserting debugger; inside a function…
0
votes
1 answer

Node executable could not be found in Atom with node-debugger in mac os

When I attempt to run the debugger but I get an error: Failed to start debugger. Exit code was ENOENT which indicates that the node executable could not be found. Try specifying an explicit path in your atom config file using the…
David Faizulaev
  • 4,651
  • 21
  • 74
  • 124
0
votes
1 answer

OSX cannot open the `chrome://` protocol by the `open` command

when I try to edit open "chrome://settings" It says: The file /chrome:/settings does not exist. open -a Google\ Chrome "chrome://settings" also couldn't open the settings in chrome. seems the open command only could open the http && https…
Loatheb
  • 52
  • 6
0
votes
1 answer

Set breakpoint in electron via chrome remote debugging API

I'm building an open source Node.js debugger that is an electron app and uses the built in debugger in the render process. Full source: https://github.com/fijiwebdesign/electron-scope/ In the main process I want to launch the script to debug and…
0
votes
1 answer

Provide Url during debugging in nodejs?

I am using visual studio and node.js for program .I want to pass an URL and some data ate the time of debugging in nodejs. SO please tell me how to give that data.
0
votes
2 answers

javascript loop iterating too much

Trying a fun problem of replacing vowels in a string with the next vowel in line aka a->e, e->i, i->o, o->u, not accounting for "u". Starting with an array instead of a string. My second loop (to iterate over vowel array elements) is ignoring my…
karan satia
  • 307
  • 4
  • 16
0
votes
1 answer

Node-debug broken after upgrading node via nvm

I just upgrade node from v0.12.2 to v5.10.1 and node-debug appears to be broken for me. When I run: node-debug bin/www I get the following error in Chrome: Error: Cannot find module …
Mithrilhall
  • 1,485
  • 8
  • 33
  • 52
0
votes
2 answers

How to add a breakpoint with Atom's node-debugger?

I'm trying to use the Atom's package 'node-debugger' (here), but I can't find a way to add a breakpoint to a file. I tried using F9 being at the line but it does nothing. Any idea? I'm on Mac El Capitan and node 0.10.40
R01010010
  • 5,670
  • 11
  • 47
  • 77
0
votes
1 answer

Object properties not showing in node-debug chrome / chromium

When running node-debug and rollover an object in chrome/chromium, I can see the objects properties down to the first level. However if I try to expand one of the these properties by clicking on the drop-down arrow nothing happens. The object…
Michael
  • 59
  • 7
0
votes
1 answer

What file is node debugger breaking in?

I have some code which I am running in debug mode. As I understand it, this runs it through the standard node.js debugger. I'm frequently getting the following: ... break in timers.js:77 ... Sometimes I have breakpoints at other files, but they…
Zach Lysobey
  • 14,959
  • 20
  • 95
  • 149
0
votes
1 answer

Node debug - undefined error

I was exploring node debugger and I am stuck at the problem. I have a debugging.js file with following content var http = require("http"); function process_request(req, res) { var body = 'Thanks for calling!\n'; var content_length =…
CuriousMind
  • 3,143
  • 3
  • 29
  • 54
0
votes
1 answer

Node-inspector does not attach itself to application

I have tried launching node-inspector using: node-inspector node-inspector & I have tried launching my app using: node --debug ./bin/www node --debug-brk ./bin/www I am running the app from a vagrant box from which I have used port forwarding…
vamsiampolu
  • 6,328
  • 19
  • 82
  • 183
-1
votes
1 answer

Nodejs debugger pause thread

Suppose if there is one request R1 being processed by the Nodejs server and the debugger has paused the system at a breakpoint. Now at this point (after pause) if another request R2 is made by the client, does it enter the Nodejs server at all? If…
gurvinder372
  • 66,980
  • 10
  • 72
  • 94
1 2 3 4
5