inspect or debug flag example?
See original GitHub issueContinuing from https://github.com/remy/nodemon/issues/1114
I’ve tried:
new NodemonPlugin({ debug: true})
new NodemonPlugin({ inspect: true})
new NodemonPlugin({ inspect: 9229 })
new NodemonPlugin({ nodeArgs: { debug: true } })
new NodemonPlugin({ nodeArgs: { inspect: true } })
new NodemonPlugin({ nodeArgs: { inspect: 9229 } })
But none of them seem to serve the debugger stuff. What’s the right way?
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Debugging - Getting Started - Node.js
Spawn child process to run user's script under --inspect flag; and use main process to run CLI debugger. Listen on port port (default:...
Read more >Debugging in the browser - The Modern JavaScript Tutorial
Before writing more complex code, let's talk about debugging. Debugging is the process of finding and fixing errors within a script.
Read more >Debugging in Visual Studio Code
Variables can be inspected in the VARIABLES section of the Run and Debug view or by hovering over their source in the editor....
Read more >Stepping through code and inspecting variables to isolate bugs
Find the cause of your bugs by watching variables change as you step through your source code in the debugger.
Read more >12. Debugging Makefiles - Managing Projects with GNU Make ...
Unfortunately, there is no such thing as a makefile debugger to examine how a particular rule ... The option is supposed to suppress...
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
Looking at nodemon’s tests:
So have you tried:
It seems to do the right thing on the plugin tests:
@DivekJohns Not sure what is being asked or what you are trying to achieve. What I don’t understand:
Is this your plugin config?
What’s this:
./src
AND build\main.js`?Could you kindly clarify?