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 aim is to automatically run debugger for node.js:
launchDedicatedDevToolsForNode();
require('inspector').open(null, null, true); // sync
debugger;
note:
The underlying command, just behind the click handler of "Open dedicated DevTools for Node" link is:
chrome.send("open-node-frontend")
You have to write your extension on chrome and run the command there
chrome.send("open-node-frontend")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With