Skip to content

Commit

Permalink
[doc] Document OSH_DEBUG_DIR.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Chu committed Jul 1, 2019
1 parent adb781b commit 971f9d1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/osh-manual.md
Expand Up @@ -232,8 +232,13 @@ Then run this in another window to see logs as you type:

cat _tmp/debug

The `--xtrace-to-debug-file` sends `set -o xtrace` output to that file instead
of to `stderr`.
Related:

- The `OSH_DEBUG_DIR` environment variable is the inherited version of
`--debug-file`. A file named `$PID-osh.log` will be written in that
directory for every shell process.
- The `--xtrace-to-debug-file` flag sends `set -o xtrace` output to that file
instead of to `stderr`.

#### Crash Dumps

Expand Down

0 comments on commit 971f9d1

Please sign in to comment.