mozdebug
Utilities for running applications under native code debuggers intended for use in Mozilla testing
What it is and what it does
mozdebug is a utility library from Mozilla's testing infrastructure that wraps the mechanics of launching applications under native code debuggers. It abstracts away platform-specific debugger invocation and configuration, allowing test harnesses and automation to attach debuggers consistently across different environments. The package depends on mozinfo and mozshellutil to handle system detection and shell utilities.
It is intended for developers and test engineers working within Mozilla's testing ecosystem or similar native debugging scenarios. The package has been stable since its initial release in 2015 and supports Python 3.8 through 3.13, though its aging maintenance status suggests it may not be actively developed beyond bug fixes.
Use it for:
- Attach a native debugger to a process during automated testing without platform-specific shell scripting.
- Integrate debugger launching into test harnesses and CI/CD pipelines.
- Standardize debugger invocation across different test environments.
- Debug crashes in compiled components during test execution by automating debugger attachment.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides utilities for launching and managing applications under native code debuggers, designed for Mozilla testing workflows.
Yes, if you are working within Mozilla's testing infrastructure or need to automate native debugger attachment in a similar context. The low install friction, lack of vulnerabilities, and broad Python version support make it safe to adopt. However, the aging maintenance status suggests it is stable but not actively developed—verify that it meets your specific debugger and platform requirements before relying on it for new projects.
Install
mozdebug on PyPI
pip
pip install mozdebuguv
uv add mozdebugpoetry
poetry add mozdebugInstalling mozdebug
Before you install
Low install friction with a pure-Python wheel distribution. Maintenance status is aging—last release was 207 days ago—but the package supports current Python versions through 3.13 and carries no known vulnerabilities.
License in practice
Licensed under MPL (copyleft). Use is permitted but derivative works and modifications must be distributed under the same license terms.
Quickstart
pip install mozdebug
import mozdebug
# Use mozdebug utilities with mozinfo and mozshellutil for debugger integration
Requires Python 3.8 or later; intended for use with native code debuggers in Mozilla testing contexts.
Verify before relying
- Whether the package is actively maintained or in long-term support mode despite the aging status flag.
- What specific debuggers (gdb, lldb, etc.) are supported on different platforms.
- Whether the package works with current versions of its runtime dependencies mozinfo and mozshellutil.
Package facts
| License | MPL (copyleft) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — mozinfo, mozshellutil |
| Maintenance | aging — 207 days since the last release |
| First released | |
| Downloads | 166,047/month — #10,511 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mozdebug-0.4.0-py2.py3-none-any.whl
Keywords: mozilla
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
mozrunnerMozrunner manages the lifecycle of Mozilla…
copyleft · top 15,000 on PyPI
mozcrashExtracts and formats stack traces from minidump…
copyleft · top 15,000 on PyPI
mozleakExtracts memory leaks from leak log files,…
copyleft · top 15,000 on PyPI
mozshellutilProvides shell command-line parsing utilities…
copyleft · top 15,000 on PyPI
mozfileProvides file and directory utilities for…
copyleft · top 15,000 on PyPI
mozprocessProvides utilities for spawning, managing, and…
copyleft · top 15,000 on PyPI
mozdeviceManages and controls connected mobile devices…
copyleft · top 15,000 on PyPI
mozinfoProvides system information detection for…
copyleft · top 15,000 on PyPI
frida-toolsProvides command-line tools for Frida, a…
unclear · top 15,000 on PyPI
fridaPython bindings for Frida, a dynamic…
unclear · top 5,000 on PyPI