debug with chrome dev tool issue
See original GitHub issuedebug @latest i hit with follow with node
DEBUG=picnicapp:* node --inspect-brk ./bin/www
const debug = require('debug');
log = require('debug')('picnicapp:stdout')
debug.log = console.log.bind(console);
log("test custom console");
console look like
[33;1mpicnicapp:stdout [0mtest custom console [33m+0ms[0m
anyone can help me ?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:14 (9 by maintainers)
Top Results From Across the Web
Issues: Find and fix problems - Chrome Developers
# Open the Issues tab · Visit a page with issues to fix, such as samesite-sandbox.glitch.me. · Open DevTools. · Click the Open...
Read more >Chrome javascript debugger breakpoints don't do anything?
I fixed my breakpoints problem with "Restore defaults and reload". It's located in the Chrome Developer Tools, Settings, Restore defaults and reload.
Read more >Debugging in the browser - The Modern JavaScript Tutorial
Debugging is the process of finding and fixing errors within a script. All modern browsers and most other environments support debugging tools – ......
Read more >Debugging with Chrome DevTools: Quick Front End Fixes
Debugging is an art form. It requires both technical knowledge and data on the bug itself. Here are some quick tricks to solve...
Read more >How to Use Chrome DevTools to Troubleshoot Website Issues
One of the best ways to debug JavaScript is using Chrome's developer tools. It gives you a direct report of invalid scripts as...
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
Wrote a hack for you - had to sniff around a lot of C++. Should work in any version of Node with adequate API support, failing back silently to the current functionality. No dependencies.
Only side effect is that it doesn’t forward the vanilla
console.x()
calls to the inspector console anymore, though that’s very easily fixed (I just chose to leave it out for brevity here).4.3.4