Skip to content

KeyboardInterrupt seen in terminal when launching python debugger #290572

@bschnurr

Description

@bschnurr

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
  • OS Version:

Possibly related to #278571

Steps to Reproduce:

# basic python test file
def add(a, b):
    return a + b


def test_add():
    assert add(2, 3) == 5
    assert add(-1, 1) == 0
    assert add(0, 0) == 0


if __name__ == "__main__":
    test_add()
    print("All tests passed.")
  1. install python extension
  2. on windows create a python venv
  3. first time trying to debug you will get a 'KeyboardInterrupt' error in 'Python Debug Console'
  4. second time success, no error.
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions