Skip to content

Test debugging Interactive Window on desktop using the Jupyter Protocol #10184

@DonJayamanne

Description

@DonJayamanne

Refs: #10037

Complexity: 3

Create Issue


Requirements

  • Install prerelease jupyter extension into VS Code Insiders
  • Have a python environment
  • Be familiar with Python Interactive Window in Jupyter Extension

Test Steps

  1. Open VS Code insiders
  2. Add the following setting into your user settings file (you'll get red squigllies as this isn't an official setting):
"jupyter.forceIPyKernelDebugger": true,
  1. Reload VS Code.
  2. Open a Python file
  3. Add a cell as follows:
# %%
a = 1234
print(a)
  1. Click the Debug code lens above the # %%
  2. Debug the cell
  3. Verify the variable a appears in the Jupyter Variables viewer which can be opened using the command Jupyter: Focus on Variables View

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions