flake8-debugger
ipdb/pdb statement checker plugin for flake8
Decision gist · record as of 2026-08-14
Yes, if you are already using flake8 and need to prevent debugger statements in your codebase. The plugin is lightweight and adds minimal friction. However, be aware that the project is abandoned and may not be maintained for compatibility with future flake8 versions—verify it works with your current flake8 version before relying on it in production workflows.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires flake8 to be installed; the plugin integrates as a flake8 extension and does not work standalone.
- Low install friction with just two runtime dependencies (flake8 and pycodestyle).
- However, the package is abandoned—last release was 2022-04-30.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing use in both open-source and commercial projects with minimal restrictions.
last release 2022-04-30 (1567 days) · last repo commit 2022-04-30 · 43 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 338,220 downloads/mo, #7,435 on PyPI
Alternatives
Verify before relying
pip install flake8-debugger
Then run flake8 on your code:
flake8 your_file.py
The plugin automatically detects pdb, ipdb, pudb, breakpoint, and IPython.terminal.embed statements.- Whether the plugin remains compatible with recent flake8 versions given the time since last release.
- Current error codes and messages the plugin emits for different debugger types.
What it is and what it does
flake8-debugger is a linting plugin that integrates with flake8 to catch debugger statements accidentally left in code. It detects imports and calls to pdb, ipdb, pudb, the breakpoint() builtin, and IPython's InteractiveShellEmbed, flagging them as code-quality issues during static analysis.
The plugin works by parsing Python's abstract syntax tree to identify these debugging tools. Once installed alongside flake8, it runs automatically as part of your linting workflow without requiring separate configuration. It's designed for developers who want to prevent debug code from reaching production or being committed to version control.
Use it for
- Catch pdb or ipdb breakpoints left in code before committing to version control.
- Enforce team code-quality standards by failing CI builds when debugger statements are detected.
- Detect IPython interactive shells embedded in production code.
- Identify pudb or breakpoint() calls that were meant to be temporary during development.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using flake8 and need to prevent debugger statements in your codebase.
The plugin is lightweight and adds minimal friction. However, be aware that the project is abandoned and may not be maintained for compatibility with future flake8 versions—verify it works with your current flake8 version before relying on it in production workflows.
Install
flake8-debugger on PyPI
Before you install
Low install friction with just two runtime dependencies (flake8 and pycodestyle). However, the package is abandoned—last release was 2022-04-30. No active maintenance means bug fixes or compatibility updates are unlikely.
Requires flake8 to be installed; the plugin integrates as a flake8 extension and does not work standalone.
License in practice
MIT license is permissive, allowing use in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install flake8-debugger
Then run flake8 on your code:
flake8 your_file.py
The plugin automatically detects pdb, ipdb, pudb, breakpoint, and IPython.terminal.embed statements.
Verify before relying
- Whether the plugin remains compatible with recent flake8 versions given the time since last release.
- Current error codes and messages the plugin emits for different debugger types.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesflake8pycodestyle |
| Maintenance | Abandoned 1,567 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 338,220 / month, #7,435 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaEnvironment :: ConsoleFramework :: Flake8Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality Assurance |
Evidence: flake8_debugger-4.1.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “flake8 debugger detection”
- flake8-debuggerA flake8 plugin that detects debugger statements (pdb, ipdb, pudb,…
- flake8-printA flake8 plugin that detects print statements and pprint calls in…
- flake8-eradicateA flake8 plugin that detects commented-out code in Python files and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also flake8-print · ipdb · pudb · pdbp · pdbr · flake8-bugbear · flake8 · flake8-deprecated · flake8-pyi · pyxdia