How to inspect existing multi-arg bin commands from other cli tools.
See original GitHub issueNice job on this guys.
I’m working on the angular-cli and I’d like to be able to debug some of the commands we use like:
ng build
ng serve
ng build --watch --environment='subtropical'
I use node nightly like the following:
node-nightly --inspect --debug-brk ng build
However it looks like only the ng
is picked up and not the secondary command. Any advice?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
3.4. /bin : Essential user command binaries (for use by all users)
/bin contains commands that may be used by both the system administrator and by users, but which are required when no other filesystems...
Read more >Walkthrough: Use the AWS CLI with Run Command
Use the AWS CLI to view information about commands and command parameters, how to run commands, and how to view the status of...
Read more >OpenShift CLI developer command reference
This reference provides descriptions and example commands for OpenShift CLI ( oc ) developer commands. For administrator commands, see the OpenShift CLI ......
Read more >Command Line Interface (CLI) - Visual Studio Code
If you are looking for how to run command-line tools inside VS Code, ... VS Code is installed under AppData\Local\Programs\Microsoft VS Code\bin ....
Read more >Command Line | Getting Started - Particle docs
The Particle CLI is a powerful tool for interacting with your devices and the Particle Device Cloud. The CLI uses Node.js and can...
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
@hemanth lol!!!
After a bit of digging it turns out that having aliased bin commands in your path don’t really work.
So:
node-nightly --inspect --debug-brk node_modules/angular-cli/bin/ng build
(works)vs
node-nightly --inspect --debug-brk ng build
So I got my dealio working and its amazing. That inspector speed is FAST.
You can close this if it isn’t a problem to you.