{"categories":[{"label":"Debuggers","url":"https://skillfed.io/packages/category/software-development-debuggers"}],"enrichment":{"capability":"Web-PDB provides a web browser interface for Python's built-in PDB debugger, allowing you to debug Python scripts remotely and interactively through a web UI instead of a command-line terminal.","skillfed_tags":["remote-debugging","web-ui","development-tool"],"use_cases":["Debug a Python script running on a remote server by opening the web UI from your local browser without SSH terminal access.","Inspect program state during development using a visual interface with syntax highlighting and variable inspection instead of typing PDB commands.","Debug multiple processes by running separate `set_trace()` calls on different ports and opening each in its own browser tab.","Catch and debug unhandled exceptions in a specific code block using `catch_post_mortem()` context manager.","Use `breakpoint()` in Python 3.7+ code to launch Web-PDB automatically via environment variable without code changes."],"what_it_does":"Web-PDB wraps Python's built-in PDB debugger with a responsive web interface, letting you debug scripts in a browser instead of a terminal. You insert `web_pdb.set_trace()` into your code, and when execution reaches that point, a web UI opens on a configurable port (default 5555) where you can step through code, inspect variables, and run PDB commands. The interface shows the current file with breakpoint markers, local and global variables, and command history.\n\nSince v2.0, Web-PDB has no external dependencies beyond Python's standard library (it uses asyncio for the HTTP server). It works with Python's built-in `breakpoint()` function via the `PYTHONBREAKPOINT` environment variable, and includes a `catch_post_mortem()` context manager for automatic post-mortem debugging on unhandled exceptions. The project is in minimum maintenance mode\u2014bug fixes and Python version compatibility are prioritized, but new features are not actively developed.","worth_installing":"Yes, if you need remote or browser-based debugging of Python scripts. The zero runtime dependencies, recent maintenance, and permissive license make it a low-risk addition. Not suitable if you require active feature development or need to debug in environments where a separate HTTP server thread is problematic (e.g., some serverless runtimes). Single-session browser limitation is a minor gotcha for team debugging."},"id":"web-pdb","links":{"html":"https://skillfed.io/packages/web-pdb","md":"https://skillfed.io/packages/web-pdb.md","pypi":"https://pypi.org/project/web-pdb/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-21","license_spdx":null,"license_treatment":"permissive","name":"web-pdb","python_support":"supports_current","summary":"Web interface for Python's built-in PDB debugger"},"popularity":{"monthly_downloads":82641,"position":14148,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.0.1"}
