Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

User Story: 'npm debug' command #585

Closed Answered by ljharb
about-code asked this question in CLI
Discussion options

You must be logged in to vote

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 ?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@about-code
Comment options

@ljharb
Comment options

@about-code
Comment options

Answer selected by about-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
CLI
Labels
None yet
2 participants