77 questions
0
votes
1
answer
89
views
I need to open Chrome devtools for node as standalone app
There is a command 'open-node-frontend' behind "Open dedicated DevTools for Node" chrome://inspect/#devices. I want to start this frontend devtools from cli as an application.
Ideally I ...
0
votes
1
answer
29
views
Meteor server side packages debugging
Does anyone know of a way to debug imported server side packages in meteor?
I came across this link https://forums.meteor.com/t/vs-code-server-debugging-with-meteor-1-10/53437
I followed the ...
-1
votes
1
answer
259
views
server Started on Port: undefined in undefinedmode
const app=require('./app')
const dotenv =require('dotenv');
const PORT=3000;
dotenv.config({path:'backend/config/config.env'})
app.listen(process.env.PORT,()=>{
console.log(`server Started ...
2
votes
0
answers
233
views
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, ...
0
votes
2
answers
523
views
How debug a nodejs API
I've been worked on a vue project.
This vue project use the nodejs API I've created, in simple way, they are two entire differents project which are not located in the same directory and they are ...
0
votes
0
answers
580
views
Chrome DevTools does not show any source files
I have a Node app running on a remote server. I've added it as a remote target on my local Chrome and then click "inspect", which jumps me into the debugger.
The debugger is clearly working and able ...
0
votes
0
answers
482
views
Nodemon starts 2 instances of node when executed as a module in a javascript file
I am trying to execute a node application through nodemon. I have a index.js file as entry point of my application and a main.js file as:
var nodemon = require('nodemon');
/**
* some setup done
*/
...
0
votes
1
answer
74
views
Imprecise descriptions of bugs/exceptions when debugging EJS templates
EJS documentation at ejs.co says "It's easy to debug EJS errors: your errors are plain JavaScript exceptions, with template line-numbers included.".
However, when debugging the code with an bug in ...
3
votes
1
answer
1k
views
remote debugging with vscode, console.log works but stdout is suppressed
I have a typescript remote platform project, using visual studio code (V1.28.2) as IDE. Node.js is started on platform, using the command node --inspect=0.0.0.0:9229 --inspect-brk=0.0.0.0:9229 ... ...
0
votes
1
answer
78
views
src\debug-agent.cc:149: Assertion `(err) == (0)' failed
I get the above error trying to run node-debug. I'm using node-inspector v1.1.1 and node v6.10.0.
A resolution for this matter is much needed.
3
votes
1
answer
4k
views
Converting debug configuration between WebStorm and VSCode
I recently changed from a development role to a QA role. In setting up the QA project, the instructions I have give configuration requirements for WebStorm. I however much prefer to use VSCode.
I'm ...
0
votes
0
answers
51
views
session data getting stored every time
Below is the API that basically stores data in session if not already present then returns an empty JSON, otherwise sends the session data stored corresponding to that mail:
app.use('/session', ...
5
votes
2
answers
2k
views
Cannot open Chrome to the right url for debugging Node.js script
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://...
0
votes
1
answer
219
views
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 ...
1
vote
1
answer
270
views
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 ...
2
votes
1
answer
246
views
Stop node-debug from opening a new browser window
The command:
node-debug sls offline
opens a new browser window every time it is run.
How do we stop it from opening a new window every time? I want to reuse the existing window!
0
votes
1
answer
62
views
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 ...
3
votes
2
answers
2k
views
How do I use node debug cli with Jest?
How can I just use the simple node cli/repl debugger with Jest?
The Jest documentation uses node-inspector, but it is outdated/deprecated as of Node 6.3. I tried the recommended command anyway on ...
0
votes
1
answer
803
views
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 ...
4
votes
3
answers
3k
views
Why is the Node debugger "break on first line" a thing?
I thought the reason the new VS Code debugger stopped on the 'use strict'; in my file was because of some weird deprecatory behaviour in new versions of Node, or else because my code had some weird ...
1
vote
0
answers
253
views
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 ...
1
vote
1
answer
544
views
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 <script name>, as described in the documentation.
Runs correctly giving message telling me to go to a page to ...
-1
votes
1
answer
582
views
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 ...
2
votes
1
answer
409
views
Node-Inspector will not stop at breakpoints when I refresh app
I have been trying to use the node-inspector for debugging in node. However, it only works initially when I start my app (npm start) and then enter (node-debug app.js) in a separate terminal tab.
...
0
votes
1
answer
71
views
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.