vscode-bash-debug
vscode-bash-debug copied to clipboard
debugger stops when a file is sourced and never returns
This means debugging a bash file that sources another bash file is not currently possible it seams.
In addition to the details for issue, please provide us Executables information and Debug output unless you have confidence that they don't help us.
Executables
Version of bash-debug: (can be checked in: ctrl+shift+X or command+shift+X -> INSTALLED: Bash Debug)
Output of following commands (on windows, execute them in Command Prompt or PowerShell):
where bash
# if `code` not found on macOS, follow the instructions in:
# https://code.visualstudio.com/docs/setup/mac
code --version
bash -c 'uname -a; for P in bash bashdb cat mkfifo pkill; do echo ---; which -a $P; command $P --version; done'
Debug output
Paste here outputs in DEBUG CONSOLE (ctrl+shift+D or command+shift+D) with "showDebugOutput": true
and "trace": true
in launch.json
.
Your launch.json
may looks like:
{
"version": "0.2.0",
"configurations": [
{
"type": "bashdb",
"request": "launch",
"name": "Bash Debug",
"program": "${workspaceFolder}/src/foo.sh",
"showDebugOutput": true,
"trace": true
}
]
}
Details
Details goes here.