Debug step into a function is broken when using debugpy for interactive cells
See original GitHub issueDefine a file like so:
# %%
def baz():
print('baz')
# %%
print('foo')
baz()
Run the first cell Debug the second and try to step into baz.
Works with ptvsd, but not debug py.
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (11 by maintainers)
Top Results From Across the Web
VS Code cannot breakpoint or step through 3rd party Python ...
But, my current install of VS Code refuses to let me set breakpoints or step through 3rd party libraries when I start debugging...
Read more >Debugging configurations for Python apps in Visual Studio Code
Both tutorials demonstrate core skills like setting breakpoints and stepping through code. For general debugging features such as inspecting variables, ...
Read more >Python Debugging With Pdb
In this tutorial, I'll show you the basics of using pdb, Python's interactive source code debugger. I'll walk you through a few common...
Read more >A comprehensive guide to debugging Python scripts in VS Code
In this article, I show how to quickly and efficiently debug Python scripts using VS Code. The best thing is that you can...
Read more >VS Code Debugger not working for python - Microsoft Q&A
Any troubleshooting tips. It seems when I do Run->"start Debugging' no command comes to terminal. Any VS Code log file that I can...
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
Yes. We can pin if necessary, but since we are iterating we decided to pull the latest from pypi.
The problem for both, loops and functions is gone. Thanks a lot!