mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-14 20:39:55 -05:00
Make gist generation instructions more explicit; add Zsh PS4
This commit is contained in:
parent
cfe2aba670
commit
54889eb87a
1 changed files with 6 additions and 5 deletions
11
.github/ISSUE_TEMPLATE.md
vendored
11
.github/ISSUE_TEMPLATE.md
vendored
|
@ -17,12 +17,13 @@ Make sure you have checked all steps below.
|
|||
- [ ] pyenv version:
|
||||
- [ ] Python version:
|
||||
- [ ] C Compiler information (e.g. gcc 7.3):
|
||||
- [ ] Please attach a debug trace log as gist
|
||||
* 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`
|
||||
- [ ] Please reproduce the problem with debug tracing enabled and attach the resulting output as a gist
|
||||
* If the problem happens in a Pyenv invocation, you can turn on tracing by setting `PYENV_DEBUG=1`, e.g. `env PYENV_DEBUG=1 pyenv install -v 3.6.4`
|
||||
* If the problem is with `pyenv install`, make sure to also enable its verbose mode (`-v`)
|
||||
* If the problem happens outside of a Pyenv invocation, get the debug log like this:
|
||||
```
|
||||
export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
|
||||
* If the problem happens outside of a Pyenv invocation, enable shell trace output like this:
|
||||
```sh
|
||||
export PS4='+(${(%):-%x}:${LINENO}): ${funcstack[0]:+${funcstack[0]}(): }' #Zsh
|
||||
export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }' #Bash
|
||||
set -x
|
||||
<reproduce the problem>
|
||||
set +x
|
||||
|
|
Loading…
Reference in a new issue