Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Python Debugger/VisualizerNew to Visual Studio Code? Get it now.
Python Debugger/Visualizer

Python Debugger/Visualizer

bshen

|
1 install
| (0) | Free
Python Debugger in the vein of Python Tutor for simple python programs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Python Visualizer for VS Code

A lightweight, interactive execution /debugger for Python — built directly into VS Code.
Step through your code, inspect variables, and watch output evolve.

This extension brings a debugger‑style experience to Python scripts without breakpoints, without configuration, and without leaving your editor. This is designed for beginner-level Python as a simple time travel debugger intially inspired by Python Tutor. This was originally course project for COSI 166B at Brandeis as an extension to help simplify the new programmer experience in COSI 10a. The code is spun off from https://github.com/cMoOW/Cosi10a-CodingExtensions.


Getting Started

1. Open a Python file

Open any .py file in VS Code.

2. Start the visualizer

Press the little green bug icon next to play button. This will open a panel with the debugger on the right.


Features

Randomness controls

If your script imports random, secrets, NumPy, or SciPy:

  • Re‑run with a new seed for fresh behavior
  • Re‑run with the same seed for reproducible results

Working With input()

If your Python script uses the built‑in input() function, the visualizer automatically detects it and displays an Input box at the top of the panel.

  • Enter one or more lines of input exactly as your program expects
  • Press Re‑run Visualization to execute the program with the provided input
  • Multiline input is supported — just press Enter inside the input box
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft