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

Re-launch debug sessions for last debugged test #5237

Closed
breathe opened this issue Apr 12, 2019 · 2 comments
Closed

Re-launch debug sessions for last debugged test #5237

breathe opened this issue Apr 12, 2019 · 2 comments
Labels
area-testing feature-request Request for new features or functionality

Comments

@breathe
Copy link

breathe commented Apr 12, 2019

Issue Type: Feature Request

I like using vscode-python's pytest code-lense support to enter a debugger conntext for a test case.

When I am iterating on debugging a test case though, I don't like the available options for navigating back to that same test case to relaunch it.

It would be very nice if I could setup a keyboard shortcut to relaunch the last debug session launched from a test case -- so my workflow can be simplified.

Extension version: 2019.3.6558
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:22:55.268Z)
OS version: Darwin x64 18.5.0

@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Apr 12, 2019
@breathe breathe changed the title Feature Request: re-debug last debugged test Feature Request: re-launch debug sessions for last debugged test Apr 14, 2019
@DonJayamanne DonJayamanne added area-testing needs decision feature-request Request for new features or functionality labels Apr 15, 2019
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Apr 15, 2019
@DonJayamanne DonJayamanne changed the title Feature Request: re-launch debug sessions for last debugged test Re-launch debug sessions for last debugged test Apr 15, 2019
@breathe
Copy link
Author

breathe commented Apr 21, 2019

Just another thought about this topic ... perhaps there could be a way to describe a 'debug test case' scenario via an entry in launch.json -- potentially allowing one to customize the debugger configuration. It would be particularly useful if one could describe a 'Debug last launched test case' entry in launch.json. This way I could simply select the 'Debug last launched test case' entry in the debug target selector and use the normal 'launch debugger' keyboard shortcuts for re-entering the test case when iterating ...

@luabud
Copy link
Member

luabud commented Jun 4, 2019

Thanks for the suggestion! We're not going to do this for now but if anyone else would find this issue useful, please let us know.

@luabud luabud closed this as completed Jun 4, 2019
@ghost ghost removed the needs decision label Jun 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants