question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debug step into a function is broken when using debugpy for interactive cells

See original GitHub issue

Define 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:closed
  • Created 3 years ago
  • Comments:14 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
karthiknadigcommented, Apr 15, 2020

Yes. We can pin if necessary, but since we are iterating we decided to pull the latest from pypi.

0reactions
iirubiocommented, Apr 16, 2020

The problem for both, loops and functions is gone. Thanks a lot!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found