Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not start debugging under mac environment. #3

Open
tiansin opened this issue May 22, 2019 · 1 comment
Open

Can not start debugging under mac environment. #3

tiansin opened this issue May 22, 2019 · 1 comment

Comments

@tiansin
Copy link

tiansin commented May 22, 2019

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 zsh-debug: (can be checked in: ctrl+shift+X or command+shift+X -> INSTALLED: Zsh Debug)

Output of following commands (on windows, execute them in Command Prompt or PowerShell):

where zsh
# if `code` not found on macOS, follow the instructions in:
# https://code.visualstudio.com/docs/setup/mac
code --version
zsh -c 'uname -a; for P in zsh zshdb 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": "zshdb",
            "request": "launch",
            "name": "Zsh Debug",
            "program": "${workspaceFolder}/src/foo.sh",
            "showDebugOutput": true,
            "trace": true
        }
    ]
}

Details

Details goes here.

@binte
Copy link

binte commented Jan 19, 2022

I am also unable to use the debugger with a zsh console. Even though zsh is the default terminal in VS Code, when using the zsh debugger a bash console is always used.

This is a problem, because the debugger can't run bash 3.x, and that is the default bash version on MAC OS...

Any news on this topic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants