With node -inspect debug() doesn't display
See original GitHub issueHi,
When i use node -inspect
or babel-node -inspect
i only see console.log in chrome and not the debug() message.
Thanks.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:12 (3 by maintainers)
Top Results From Across the Web
With node -inspect debug() doesn't display · Issue #424 - GitHub
Hi, When i use node -inspect or babel-node -inspect i only see console.log in chrome and ... With node -inspect debug() doesn't display...
Read more >Debugging - Getting Started - Node.js
This guide will help you get started debugging your Node.js apps and scripts. Enable Inspector. When started with the --inspect switch, a Node.js...
Read more >How To Debug Node.js with the Built-In Debugger and ...
In your terminal, run the node command with this debugger option as follows: node inspect badLoop. js.
Read more >How do I debug node.js errors when my code is nowhere in ...
Show activity on this post. You could do something like for debugging such errors. ... For more info check node app error codes....
Read more >How to Debug Node.js Code Using Multiple Tools - Kinsta
Start an application using node inspect, e.g. node inspect app.js. The debugger pauses at the first line and displays a debug> prompt: $...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
FYI inspector protocol workaround ugly… const debug = require(‘debug’); debug.log = console.log.bind(console);
@TooTallNate - Noticed you closed this issue. I realize that my issue is not quite the same as the original, so perhaps I should create a new issue?
Just to confirm, are we now expected to use
debug.log = console.log.bind(console);
on every project that we debug via Node’s --inspect?