Python Debugging Tools

Open-source Python projects categorized as Debugging Tools

Top 23 Python Debugging Tool Projects

  • django-debug-toolbar

    A configurable set of panels that display various debug information about the current request/response.

    Project mention: Difficulty with foreignkey connecting to main object | /r/djangolearning | 2023-05-13


  • icecream

    🍦 Never use print() to debug again.

    Project mention: When you are looking at someone else's code base and you want to make a copy of it to put in a million print statements to understand it, what is good practice in terms of version control and naming the copy? | /r/github | 2023-04-28
  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • memory_profiler

    Monitor Memory usage of Python code

    Project mention: 8 Most Popular Python HTML Web Scraping Packages with Benchmarks | | 2023-02-01


  • python-uncompyle6

    A cross-version Python bytecode decompiler

    Project mention: Testing Github Co-Pilot and Trying to Win World Cup Bet | | 2022-11-20

    Q: What is RAPID_API_KEY = os.environ.get('RAPID_API_KEY')? A: You should store configuration in environment variables; never in code. See 12 factors app. Python .pyc files can easily be "decompiled" to .py and reveal all secrets in code.

  • pudb

    Full-screen console debugger for Python

    Project mention: Tracing Python | | 2023-05-24
  • Cyberbrain

    Python debugging, redefined.

  • ipdb

    Integration of IPython pdb

    Project mention: Why do people say that Neovim cannot be an IDE? | /r/neovim | 2022-09-18

    Unfortunately, I couldn't find any official documentation. But here is a small cheatsheet about it and here is there is github repo.

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • pyelftools

    Parsing ELF and DWARF in Python

    Project mention: How to parse an elf file, and identify objects/functions and associate with their file and library | /r/embedded | 2022-12-18

    Found pyelftools, and saw how simple it was to extract the variables, functions and files listed in an elf file.

  • wdb

    An improbable web debugger through WebSockets

  • django-devserver

    A drop-in replacement for Django's runserver.

  • Laboratory

    Achieving confident refactoring through experimentation with Python 2.7 & 3.3+

  • CAPEv2

    Malware Configuration And Payload Extraction

    Project mention: Does anyone installed cuckoo sandbox recently? | /r/cybersecurity | 2022-06-16 is a more "production ready" solution.

  • snoop

    A powerful set of Python debugging tools, based on PySnooper (by alexmojaki)

    Project mention: Show HN: A 100% free and interactive Python course for coding beginners | | 2023-01-07
  • hunter

    Hunter is a flexible code tracing toolkit.

    Project mention: Looking for app that visualizes python program | /r/learnpython | 2022-10-19
  • lptrace

    Trace any Python program, anywhere!

  • ChatDBG

    ChatDBG - AI-assisted debugging. Uses AI to answer 'why'

    Project mention: ChatDBG | /r/u_waynerad | 2023-05-01
  • manhole

    Debugging manhole for python applications.

  • remote-pdb

    Remote vanilla PDB (over TCP sockets).

    Project mention: Useful Python Modules for us | /r/savedForMS | 2022-12-04

    pdbpp: Improved pdb boltons: assorted python addtions twisted: event driven networking framework sorcery: Dark magic in python, things know where+how they are being called, helps reducing boilerplate sh: Better alternative for subprocess module, much more pythonic taskipy: npm run scipt_name like functionality snoop: pdb lite, record+replay function steps birdseye: graphical debugger remote-pdb: easy pdb from inside containers typer: wrapper around click for simpler code for CLIs arrow: Always TZ aware datetimes, plus more features more-itertools: more functions for iterators pydantic: data validation + dataclasses loguru: better logging notifiers: sending notifications from python

  • python3-trepan

    A gdb-like Python3 Debugger in the Trepan family

  • python-statsd

    Python Client for the Etsy NodeJS Statsd Server

  • winpdb

    Fork of the official winpdb with improvements

  • nopdb

    NoPdb: Non-interactive Python Debugger

    Project mention: Find a class and run it with feedback | /r/learnpython | 2023-02-22
  • dj-tracker

    A Django app that tracks your queries to help optimize them. Demo:

    Project mention: Finding n + 1 problem on a local machine | /r/django | 2023-03-29

    I'd recommend dj-tracker. It can show you exactly which field your related queries come from and you'll easily be able to know when your N+1 problem is solved or not using the dashboard. See the Detect and resolve related queries page on the docs. (It comes with very little overhead compared to silk or debug-toolbar and it persists all the data in a database so you don't lose when you quit the server).

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-24.

Python Debugging Tools related posts


What are some of the best open-source Debugging Tool projects in Python? This list will help you:

Project Stars
1 django-debug-toolbar 7,507
2 icecream 6,790
3 memory_profiler 3,894
4 python-uncompyle6 3,155
5 pudb 2,679
6 Cyberbrain 2,400
7 ipdb 1,709
8 pyelftools 1,672
9 wdb 1,563
10 django-devserver 1,271
11 Laboratory 1,253
12 CAPEv2 1,223
13 snoop 930
14 hunter 733
15 lptrace 691
16 ChatDBG 557
17 manhole 340
18 remote-pdb 239
19 python3-trepan 130
20 python-statsd 107
21 winpdb 88
22 nopdb 73
23 dj-tracker 57
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives