Skip to content

Commit

Permalink
Update debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-jarrett authored Apr 14, 2022
1 parent 4ec0fed commit 1196272
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/nita-cmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,12 @@ echo "Hello World!" >&1
$ sudo chmod +x nita-cmd_hello
$
```
Add inline debug by checking for the environment variable _CLI_RUNNER_DEBUG.
export _CLI_RUNNER_DEBUG=1
Add inline debugging by setting the environment variable ``_CLI_RUNNER_DEBUG`` in the parent shell, like this:
```shell
$ export _CLI_RUNNER_DEBUG=1
$ ./nita-cmd_hello
...
```
## Hello World Help Command
Expand Down

0 comments on commit 1196272

Please sign in to comment.