User Story: 'npm debug' command #585
-
User Story:As author of an executable npm package (one having a Rationale
ProposalIn general The command should apply the following rules until the terminal symbol
SummaryIn general there is good tool support for debugging. Current options add some inconveniences when it comes to debugging particular argument vectors in an ad-hoc manner. A Questions to be discussed
Use upvotes / downvotes to show support or objection, particularly if not wanting to explain it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
npx debug already works to invoke the debug package. You can define a debug script and ‘Either way, this seems like something better filed at https://github.com/npm/rfcs ? |
Beta Was this translation helpful? Give feedback.
npx debug already works to invoke the debug package.
You can define a debug script and
npm run debug -- [args]
already, and pass inspect-brk in the script - or you can set NODE_OPTIONS='--inspect-brk'`.‘Either way, this seems like something better filed at https://github.com/npm/rfcs ?