diff --git a/Troubleshooting.md b/Troubleshooting.md index 2eb4f08..24bb6d7 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -48,4 +48,10 @@ As a last resort, if you're getting weird behavior and can't find the culprit, r ```shell zsh -xv &> >(tee ~/omz-debug.log 2>/dev/null) ``` + Afterwards, reproduce the behavior (_i.e._ if it's a particular command, run it), and when you're done, run `exit` to stop the debugging session. This will create a `omz-debug.log` file on your home directory, which you can upload to [gist.github.com](https://gist.github.com/) and link to it on the issue you'll open next. + +If you only need to debug the session initialization, you can do so with the command: +```shell +zsh -xvic exit &> ~/omz-debug.log +``` \ No newline at end of file