Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

richstokes/python-objectviewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Debugging tool thats lets you easily inspect/visualize objects and variables in your running python code in real time.

It uses the Debug Adapter Protocol (DAP) to retrieve the objects in your running python program. It then displays them in a web app.

Everytime you refresh the page, it briefly pauses your running code and displays a snapshot of its current state.

Screenshot{ width=500 }

Setup

On the project you wish to debug, install debugpy:
pipenv install debugpy

Start debugpy server

From the project you with to debug:

pipenv run python -m debugpy --listen localhost:5678 your-script.py

Run python-objectviewer

Clone this repo and run: HD_PORT=9000 pipenv run python pov.py

Then open your browser at http://localhost:9000

About

🧐 Easily inspect/visualize objects and variables in your running python code in real time.

Topics

Resources

License

Stars

Watchers

Forks

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.