wrapper of the node command for debugging scripts with Theseus
npm install node-theseus
|3||downloads in the last day|
|55||downloads in the last week|
|279||downloads in the last month|
|Version||0.2.3 last updated a month ago|
|Keywords||source, trace, instrumentation, debugging|
|Dependencies||fondue, ws, minimatch, source-map-support|
node-theseus is a command for launching Node.js scripts for debugging with Theseus.
- Install the Theseus extension in Brackets
npm install -g node-theseus
- Start Node.js with
The process will continue to run even after your program finishes so that you can connect to it with Theseus.
--theseus-port=number option starts theseus on that port. The default port is
process.env.THESEUS_PORT || 8888
--theseus-verbose option prints light debugging output.
--theseus-verbose=2 prints heavy debugging output. Those options may be useful for troubleshooting the connection with Theseus.
--theseus-exclude=glob option excludes the given file path glob from being instrumented. For example,
--theseus-exclude='*.js' will exclude all the
*.js files in the current directory.
--theseus-include-modules option causes files in
node_modules to also be instrumented. They aren't by default for performance reasons.
--theseus-max-invocations-per-tick=number option changes the number of function invocations to record for a single tick before pausing trace collection until the next tick. The default is 4096. This limit prevents Theseus from using a ridiculous amount of memory for programs that are occasionally computationally intensive by detecting the intense computation and not recording all of the details.
node-theseus is MIT licensed.