Skip to main content

All Questions

0 votes
0 answers
70 views

Unable to connect to SSH reverse tunnel with WebSockets in Node.js debugging instance – Error 400

I'm trying to set up an SSH tunnel to a local Node.js instance running in debugging mode, which listens on port 9229. The goal is to forward traffic from a remote machine to the debugging port on my ...
testing_22's user avatar
  • 2,605
2 votes
1 answer
384 views

NodeJs: Chrome inspector can map source but unable to debug on original source

I have attached chrome inspector to a NodeJS process and see that Chrome can detect the running built source code ( /dist folder ) and also correctly mapped the source code ( /src folder ) to the ...
qkhanhpro's user avatar
  • 5,300
1 vote
2 answers
3k views

How to debug "built" production NodeJS

I am using Visual Studio code to debug a node application in production environment The Node process runs inside docker, I port-forwarded and signaled USR1 to enable attaching debugger from VS code to ...
qkhanhpro's user avatar
  • 5,300
0 votes
1 answer
1k views

Node.js WebStorm remote debugging not working (without SSH tunnel)

I'm trying to debug on a live server running a Node.js webserver (Express, TypeScript). I run the node server with NODE_ENV=development node --inspect=9229 --inspect-brk build/start.js, and it says ...
nerdlinger's user avatar
  • 2,196
5 votes
4 answers
2k views

Is it a good idea to enable --inspect for nodejs in production (kubernetes)?

I have a nodejs pod running in kubernetes production environment. Additionally there is staging and review environment in the same cluster running the same app. I recently added --inspect to the start ...
Jayadeep KM's user avatar
4 votes
4 answers
6k views

Can't debug node.js using Chrome DevTools

When I run node --inspect app.js it says "Debugger attached". Then I open up chrome://inspect and I see my app running there so I click either Open dedicated DevTools or Inspect (next to the app's ...
M. Farnik's user avatar
  • 275
2 votes
1 answer
2k views

Can't debug node application on remote server

I'm running express app on remote server (my-domain.com) like that: node --inspect=0.0.0.0:9229 ./server.js In intellij idea i've setup debug configuration (Attach Node.js/chrome): host: my-domain....
Aleksand Kondaurov's user avatar
7 votes
1 answer
2k views

Node Debug From Vagrant

Unable to remote debug a node server running on a Vagrant box in Chrome from my host machine. The server is configured to run on port 8123. Node Version: 7.10.0 In Vagrantfile: config.vm.network :...
Geoffrey Richey's user avatar
0 votes
1 answer
391 views

WebStorm - NodeJS debug different folder

I have source of NodeJS application in src folder. But in folder dist I have copied app from source folder (it is copy 1:1) via webpack (but I think, it doesn't matter in this situation). I have a ...
IceManSpy's user avatar
  • 1,098
0 votes
1 answer
288 views

WebStorm: node.js debugger vs remote node.js

I've encountered two debugging configurations for node.js in WebStorm: Node.JS debug and node.js Remote Debug. You can see both of them here: My question is what is the difference between these two? ...
CrazySynthax's user avatar
  • 15.1k
3 votes
1 answer
1k views

node-debug: why can't I set a breakpoint?

I'm using node-debug and know which file and line for which I want to set a breakpoint. Here's what happens: debug> setBreakpoint('./services/search.js', 359) Warning: script './services/search.js'...
Max Heiber's user avatar
  • 15.6k
1 vote
1 answer
2k views

How to remotely debug Node.js app with source maps (using WebStorm)

I struggling to debug remotely piece of node.js code that got translated from ES6 with BabelJs. Here's the situation: I have a project with ES6 source file server\app.js that gets translated to ES5 ...
Maciej's user avatar
  • 598
2 votes
1 answer
653 views

Remote Debugging of node js server using intellij

Saw lots of posts regarding the debugging of remote Node js server and tried a lot of their solutions yet did not manage to get my configuration to work I have Intellij installed on a Windows PC ...
Elad C.'s user avatar
  • 111
4 votes
0 answers
1k views

Error: Cannot find module '/usr/lib/node_modules/node-inspector/lib/InjectorServer.js'

I work on a mean.js application (on top of express.js > node.js). I succeed to debug it locally (on kubuntu) with node inspector, no problem. But I fail to debug it remotely (from an ubuntu server) , ...
Rémi Becheras's user avatar
0 votes
1 answer
413 views

Cannot attach to Appium with WebStorm debugger

I have git-cloned Appium and I am trying to debug it using JetBrains WebStorm. Remote debugging I set the environment to remote debug a node application and provided the following parameters: Host: ...
Andry's user avatar
  • 16.9k

15 30 50 per page