All Questions
18 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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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....
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 :...
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 ...
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? ...
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'...
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 ...
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
...
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) , ...
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: ...