Allow for setting up a debug configuration for tests
See original GitHub issueEnvironment data
VS Code version: 1.18.1 Python Extension version: 0.8.0 Python Version: 3.6 OS and version: Windows 10 falls update
Actual behavior
“Step into” when debugging does not let me go inside a lib installed in the venv (not the current personal code)
Expected behavior
“Step into” let me step into whatever code (mine or dependencies).
Steps to reproduce:
- Place a breakpoint on a
requests.get
- Step into
Logs
N/A
PTVS has an option for that, and possible in PyDev (but full disclosure it was a long time ago for this one…)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:9 (3 by maintainers)
Top Results From Across the Web
PyCharm - Create run/debug configurations for tests - JetBrains
Open a test file in the editor, and right-click any line. · From the context menu, choose More Run/Debug | Modify Run Configuration....
Read more >Create and edit run/debug configurations - Android Developers
Run/debug configurations specify details such as app installation, launch, and test options. You can define a configuration for one-time use, or save it...
Read more >Creating a run/debug configuration for the test | IntelliJ IDEA ...
The run/debug configuration can be shaped in a number of ways. The first method is to pick the Edit Configurations… option from the...
Read more >Jest Configuration And Debugging Jest Based Tests
In this tutorial, we will learn more about Jest Config files and see how you can actually debug Jest tests for troubleshooting one...
Read more >Using Visual Studio Code to debug Jest based unit tests
Step 1 Enable debugging in our project · We will click on the debug icon (left hand sidebar). · Click on the add...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Aah, you’re debugging a unit test. That’s new information. Currently we don’t support debugging non-user code when debugging unit tests. That would be a new feature.
No worries, at least we got to the bottom of it very quickly. Would have been a another story if you hadn’t sent the screen shots. lol.
Will keep you posted.