ISSUE_TEMPLATE.md: Add Zsh PS4

This commit is contained in:
Ivan Pozdeev
2023-01-31 23:02:54 +03:00
parent a6ab660b72
commit 826f3fbe6f

View File

@@ -22,7 +22,11 @@ Make sure you have checked all steps below.
* If the problem happens in a Pyenv invocation, you can turn on debug logging by setting `PYENV_DEBUG=1`, e.g. `env PYENV_DEBUG=1 pyenv install -v 3.6.4` * If the problem happens in a Pyenv invocation, you can turn on debug logging by setting `PYENV_DEBUG=1`, e.g. `env PYENV_DEBUG=1 pyenv install -v 3.6.4`
* If the problem happens outside of a Pyenv invocation, get the debug log like this: * If the problem happens outside of a Pyenv invocation, get the debug log like this:
``` ```
# for Bash
export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }' export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
# for Zsh
export PS4='+(%x:%I): %N(%i): '
set -x set -x
<reproduce the problem> <reproduce the problem>
set +x set +x