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

Unable to debug a terminal user interface from vscode #1427

Closed
delaneyj opened this issue Nov 28, 2018 · 2 comments
Closed

Unable to debug a terminal user interface from vscode #1427

delaneyj opened this issue Nov 28, 2018 · 2 comments

Comments

@delaneyj
Copy link

  1. What version of Delve are you using (dlv version)? 1.1.0
  2. What version of Go are you using? (go version)? 1.11.1
  3. What operating system and processor architecture are you using? linux/amd64
  4. What did you do? Full details are available in vscode issue tracker.
  5. What did you expect to see? Debugging within VSCode.
  6. What did you see instead? There thought was it is an issue was within delve. Not sure what to do from here, hopefully its a config issue.
@aarzilli
Copy link
Member

Debugging from the command line client works as expected, as long as you do it the "right way" (i.e. run a headless instance in a terminal and dlv connect to it from another terminal). Gdlv will work with this but only as long as you do the same (launch a headless dlv on a terminal and then gdlv connect to it). I suggest trying the same thing with VScode because, presumably, it doesn't allocate a pseudo terminal automatically either.

@delaneyj
Copy link
Author

I can confirm that running in a separate console works. Will talk to the vscode team.

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

No branches or pull requests

2 participants