Skip to content

Commit

Permalink
fix(docs): update the path to run garden-debug
Browse files Browse the repository at this point in the history
  • Loading branch information
10ko authored and thsig committed May 11, 2019
1 parent 31b1801 commit 0df0e84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ For developing the dashboard, please refer to the [dashboard docs](./dashboard/R
To enable setting a breakpoint in the code, run the CLI with the `garden-service/bin/static/garden-debug` binary, which adds the `--inspect` flag. Developers might find it useful to alias this:

```sh
alias gd='/path/to/garden/garden-service/bin/static/garden-debug'
alias gd='/path/to/garden/bin/garden-debug'
```

You can e.g. use the Chrome DevTools to inspect the code at the breakpoint:
Expand All @@ -88,7 +88,7 @@ You can e.g. use the Chrome DevTools to inspect the code at the breakpoint:
4. Run a CLI command that hits the breakpoint, e.g.:

```sh
garden-service/bin/static/garden-debug deploy # or gd deploy, if you've set the alias
/path/to/garden/bin/garden-debug deploy # or gd deploy, if you've set the alias
```

You should now be able to inspect the code at run time in the **Console** tab of the DevTools window.
Expand Down

0 comments on commit 0df0e84

Please sign in to comment.