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 Cell option disappears

See original GitHub issue

Environment data

  • VS Code version: XXX
  • Jupyter Extension version (available under the Extensions sidebar): v2022.4.1021342353
  • Python Extension version (available under the Extensions sidebar): v2022.6.2
  • OS (Windows | Mac | Linux distro) and version: Windows
  • Python and/or Anaconda version: Python 3.8.8
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): conda
  • Jupyter server running: Local | Remote | N/A: Local and Remote

Expected behavior

A small drop down arrow next to the run cell, which shows a debug cell option: image

Actual behavior

The drop down arrow disappears after a single debug run, and using the ctrl + shift + alt + enter to key combo to debug the cell is also unresponsive. Sometimes it comes back in a few minutes of waiting and sometimes I have to restart VS Code.

image

Steps to reproduce:

  1. Start a notebook
  2. Debug a cell
  3. The down arrow disappears.

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
himra13commented, Dec 20, 2022

Facing the same issue on mac os

jupyter version: v2022.11.1003412109

For me, It happens after my debugger crash and I force close the debugger.

  1. Try restarting the notebook doesn’t work.
  2. Restarting vscode could solve the problem
1reaction
roy651commented, Jul 27, 2022

Having same issue on 1.68.1. Intermittent but usually happens after a debug crash. Scrolling doesn’t help but running some other cell usually brings back the fantom debug option. In one worse case where it didn’t reappear - only a restart of vscode worked.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - VS Code Debug Cell disappears arbitrarily in Jupyter ...
Arbitrarily, the "Debug Cell" run option disappears and I have not found a way yet to debug a specific notebook cell in a...
Read more >
Run and Debug box disappeared : r/vscode - Reddit
My Run and Debug box disappeared. First screenshot is mine, second is someone elses showing the box. I tried to uninstall and re-install...
Read more >
Troubleshoot Breakpoints in the Visual Studio Debugger
To modify this setting for all breakpoints, go to Debug > Options and Settings. On the Debugging/General page, clear the Require source files...
Read more >
Excel Macro Troubleshooting Tips Debug and F8 Key Problems
In this example, a macro was recorded, to go to a sheet named "Main", then select cell C3 on that sheet. When the...
Read more >
Run and debug Jupyter notebook code cells - JetBrains
You can execute the code of notebook cells in many ways using the ... To enable this option, select Show inline values in...
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