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't run particular pytest test in debug mode #1762

Open
alexey2baranov opened this issue Mar 16, 2024 · 2 comments
Open

Can't run particular pytest test in debug mode #1762

alexey2baranov opened this issue Mar 16, 2024 · 2 comments
Assignees
Labels
needs repro Issue has not been reproduced yet

Comments

@alexey2baranov
Copy link

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

@eleanorjboyd eleanorjboyd self-assigned this Mar 18, 2024
@eleanorjboyd
Copy link
Member

@karthiknadig any ideas here? I have never seen the Debug stopped pupup window with "Open launch.json" button

@karthiknadig
Copy link
Member

This happens when attach fails, or when debugpy DAP server suddenly disconnects.

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python-debugger Dec 10, 2024
@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Dec 10, 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

4 participants