Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Can't run particular pytest test in debug mode

Open
#1,762 2 comments 0 reactions 1 assignee View on GitHub

@AdamYoblick is already working on this.

Since Dec 10, 2024.

Assessment

This issue has not been assessed yet.

Description

needs repro

Pytest not working in debug mode when click Debug Test in particular test triangle.

Step to reproduce:

  1. git clone crewai (or any other project)
  2. poetry install
  3. select interpretor in the bottom right corner from poetry env
  4. Ctrl+Shift+P -> Python: Configure Tests -> pytest -> tests folder
  5. right click on test triangle inside code editor and select Debug Test (or click Debug Test in Test Explorer extension)

What expected:
run test as it was before

What actually happened:
Debug stopped pupup window with "Open launch.json" button
image

If I open launch.json file , I just see my config
image

Dominant language
Python
Stars
2.5k
Forks
202
Avg merge
5d 1h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/debugpy

All issues in microsoft/debugpy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.