node-inspector Questions

3

I wondering how to launch "Open dedicated DevTools for Node" directly from the (windows or linux) command-line, without using chrome://inspect url then Open dedicated DevTools for Node button ? My...
Timisoara asked 17/5, 2018 at 13:27

5

Solved

I tried to require('fs').writeFileSync('o.json', JSON.stringify(anObject)); for debugging, and I got RefrenceError: require is not defined. This is bizarre. What kind of an environment is it t...
Electrophorus asked 29/11, 2013 at 10:25

6

Solved

I have the following code to capture a ^C from the terminal and gracefully shutdown my Express app: process.on('SIGINT', () => { console.log('SIGINT received ...'); console.log('Shutting down...
Fracture asked 2/12, 2017 at 15:24

3

I am unable to debug node.js server when using forever.js. Is it not possible? Exampel: forever start --debug server.js 1) Starts the server.js ok, but I am unable to debug with node-inspector. ...
Oecd asked 10/10, 2012 at 12:23

2

Solved

I stareted my node app with node index.js and got the following message: (node:10128) UnhandledPromiseRejectionWarning: TypeError: e.reduce is not a function at Module.te (C:\Projects\myproject\...
Prehistoric asked 12/11, 2018 at 15:22

4

Solved

I started using Node Inspector to debug some of my Node applications. However, one thing i am not sure how to do is, once Node-inspector is attached to one Node app, how to detach and attach it to ...
Spellbinder asked 19/10, 2012 at 5:39

8

Solved

I'm currently using node along with nodemon. Then I got to thinking it might be sometimes nice to use an inspector with node so have started using node-inspector However, is it possible to run bot...
Haematothermal asked 11/9, 2014 at 22:36

5

Solved

I use node-inspector a lot. When I edit my code and restart, I get the inevitable Detached from the target Error when a new process starts. I always have to go find the tab node inspector is on a...
Ploy asked 17/9, 2013 at 15:6

1

In Chrome you can go to chrome://inspect to go to the debug page. Does Firefox have anything like this?
Mufinella asked 17/6, 2019 at 20:18

5

Solved

I've installed node-inspector just to find out that it doesn't support breakpoints :| What's the point in it at all, bearing in mind that on big part node code is asynchronous and you simply cannot...
Chiffchaff asked 23/7, 2012 at 10:56

2

Solved

I run node with node --debug app OR node --debug-brk app it responds debugger listening on port 5858 Express server listening on port 1338 I now start node-inspector node-inspector --web-po...
Backbite asked 10/9, 2013 at 4:6

7

Solved

Does someone used node-inspector with Grunt for application debugging? If not, Can you recommend a debugging tool for Grunt based apps? I'm working with nodejs for a server side app and I have Gru...
Ohalloran asked 23/6, 2012 at 16:8

1

I am trying to inspect the heap of a running express node js app. In the heap dump comparison it looks like some strings are not being freed. The promises they are tied to are resolved but the Ret...

4

Solved

I have seen many question about debugging a Node/Express application, but, it seem a node web application, not a RESTful server. I have built a simple server, and it work perfect when start server...
Knar asked 4/7, 2015 at 11:4

6

Solved

I'm trying to debug my nodejs app using node-inspector. But Google Chrome doesn't show the code. I'm using the following, Node.js : v0.10.26 Express : 4.0.0 Node Inspector : v0.7.3 Google Chr...
Inaccurate asked 28/4, 2014 at 12:19

2

Solved

//Initializing session app.use(session({ secret: 'keyboard cat', resave: true, saveUninitialized: true //cookie: { secure: true } })); I was creating a shopping cart and came across a prob...
Tapia asked 24/3, 2018 at 17:33

2

Solved

First, I was having an issue installing node-inspector, I had to revert to installing version @0.7.5.. That installed globally on my machine, but now when I try to run node-inspector I get the erro...
Shayshaya asked 20/6, 2017 at 20:28

2

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://...

2

Solved

I can't seem to debug mocha scripts. I am able to run node with inspector like this node --inspect script.js. This then gives me a url to go to to debug, something like chrome-devtools://devtools/...
Trine asked 7/12, 2016 at 23:2

1

Runtime environment Visual Studio Code v1.15.1 own compiler Node.js v8.2.1 OS: Windows 10 Description I want to add "After sort:" between source arry and sort arry, look like this: But conso...

3

Solved

I am trying to use node-inspector debug a nodeJS app running with babel-node. babel-node index.js --debug Node-inspector works but it shows the source maps in the transpiled es5 instead of es6 ...
Tonita asked 21/9, 2015 at 23:28

4

Solved

Is there a way to use node-inspector to debug unit tests with Jest? It would be nice to step through sometimes to see why tests are failing I have tried a few ways node-debug jest --runInBand ...
Unasked asked 5/8, 2014 at 15:4

2

I have a Linux server (os: Centos, ip: 192.168.1.100) with my node app that I want to debug. For some reason @office I have to work on a remote client (ip: 192.168.1.7), since Linux server has no G...
Octavia asked 14/12, 2015 at 14:28

1

Solved

I am running node inspector and trying to run commands in the console. However, I cannot run them. Instead of running, hitting enter goes to a new line. Using any other console in chrome works fi...

3

Solved

I am using npm start to start my MEAN stack application, but I would like to use the node-inspector to debug some Mongoose. I know I can start the node inspector with node-inspector, but what can I...
Bunton asked 12/10, 2015 at 21:16

© 2022 - 2025 — McMap. All rights reserved.