question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to inspect existing multi-arg bin commands from other cli tools.

See original GitHub issue

Nice 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:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
TheLarkInncommented, Jul 1, 2016

@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.

0reactions
hemanthcommented, Jul 2, 2016

cat-lovs-mousy-13Rgcvb54ffxAc

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found