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

If in vim mode, go to insert mode before launching debugpy #6594

Closed
davetapley opened this issue Oct 23, 2024 · 2 comments
Closed

If in vim mode, go to insert mode before launching debugpy #6594

davetapley opened this issue Oct 23, 2024 · 2 comments
Assignees
Labels
needs repro Issue has not been reproduced yet

Comments

@davetapley
Copy link

Environment data

  • Language Server version: 2024.10.1
  • OS and version: darwin x64
  • Python version (and distribution if applicable, e.g. Anaconda):
  • python.analysis.indexing: true
  • python.analysis.typeCheckingMode: off

Code Snippet

N/A

Repro Steps

  1. Install / enable vscode.vim
  2. Select and start debugging, finish
  3. Focus Python Debug Console
  4. Do something and hit ESC to enter normal mode
  5. Select and start debugging, finish

Expected behavior

The debugger launches.

Actual behavior

Nothing for a a moment, then:
Timed out waiting for launcher to connect

Logs

N/A

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Oct 23, 2024
@davetapley
Copy link
Author

This might be upstream, or in extension, but I figured I'd open here in case others see it.

@rchiodo
Copy link
Contributor

rchiodo commented Oct 23, 2024

This wouldn't be a bug in pylance. It doesn't have anything to do with the debugger. Might be a debugpy issue. Might be a vim extension issue.

My guess is that the vim extension is interfering with the sending the command to the terminal.

@rchiodo rchiodo closed this as completed Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Issue has not been reproduced yet
Projects
None yet
Development

No branches or pull requests

3 participants