robotframework-debuglibrary
RobotFramework debug library and an interactive shell
What it is and what it does
DebugLibrary is a debug library for Robot Framework that adds interactive debugging capabilities to test execution. It provides two main modes: embedding Debug or Debug If keywords in test files to pause execution and drop into an interactive shell, or running the standalone rfdebug command to use Robot Framework as an interactive REPL. The library depends on prompt-toolkit for terminal interaction and Robot Framework itself.
The interactive shell supports keyword auto-completion, command history (saved to ~/.rfdebug_history), and step-through debugging similar to pdb—allowing developers to trace test execution line-by-line, inspect variables, and execute Robot Framework keywords on demand. It's useful during test development and troubleshooting, though step debugging does not currently support FOR loops.
Use it for:
- Pause test execution mid-run to inspect variable state and test environment interactively.
- Explore available Robot Framework keywords and libraries in a live shell without running full test suites.
- Debug failing tests by stepping through execution line-by-line and examining intermediate results.
- Prototype and validate Robot Framework keywords and library calls before adding them to test files.
- Quickly test Selenium or other library operations in an interactive shell without writing full test cases.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides an interactive debug shell and library keywords for Robot Framework test execution, enabling step-through debugging and REPL-style keyword exploration during test development.
Yes, if you actively develop Robot Framework tests and value interactive debugging during development. The low install friction and permissive license make it a safe addition. However, the dormant maintenance status (945+ days since last release) means it is not receiving active updates; verify compatibility with your current Robot Framework and Python versions before relying on it for new projects. Suitable for established workflows; less ideal if you need ongoing support or compatibility updates.
Install
robotframework-debuglibrary on PyPI
pip
pip install robotframework-debuglibraryuv
uv add robotframework-debuglibrarypoetry
poetry add robotframework-debuglibraryInstalling robotframework-debuglibrary
Before you install
Low install friction with a pure-Python wheel. Maintenance is dormant—last release was over 945 days ago—but the package remains stable and archived repository shows no active development. Suitable for established workflows that don't require ongoing updates.
License in practice
Licensed under New BSD (permissive), allowing free use, modification, and distribution with minimal restrictions. No licensing barrier to adoption.
Quickstart
pip install robotframework-debuglibrary
# In a Robot Framework test file:
*** Settings ***
Library DebugLibrary
*** Test Cases ***
Example
Debug
# or run standalone:
# $ rfdebug
Requires Robot Framework and prompt-toolkit as runtime dependencies; Python 3.8 or later (version 2.0+).
Verify before relying
- Whether step debugging works correctly with all Robot Framework versions currently in use.
- Compatibility with recent versions of prompt-toolkit and Robot Framework given dormant maintenance status.
- Whether the rfdebug shell history file location works reliably on all operating systems.
Package facts
| License | New BSD (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — prompt-toolkit, robotframework |
| Maintenance | dormant — 945 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 163,051/month — #10,578 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: robotframework_debuglibrary-2.5.0-py3-none-any.whl
Keywords: robotframework, debug, shell, repl
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
robotframework-seleniumlibrarySeleniumLibrary is a Robot Framework library…
permissive · top 5,000 on PyPI
robotframework-selenium2libraryA Robot Framework library that wraps Selenium…
permissive · top 15,000 on PyPI
robotframework-sshlibraryA Robot Framework test library for executing…
permissive · top 15,000 on PyPI
robotframework-dependencylibraryDeclares and enforces dependencies between…
permissive · top 15,000 on PyPI
robotframeworkRobot Framework is a generic open-source…
permissive · top 5,000 on PyPI
robotframework-appiumlibraryAppiumLibrary is a Robot Framework library that…
permissive · top 15,000 on PyPI
genie.libs.robotProvides RobotFramework keywords to interact…
permissive · top 15,000 on PyPI
robotframework-databaselibraryA Robot Framework library that adds keywords…
permissive · top 15,000 on PyPI
robotframework-imaplibrary2A Robot Framework library that connects to IMAP…
permissive · top 15,000 on PyPI
robotframework-extendedselenium2libraryA Robot Framework library for web browser…
agpl · top 15,000 on PyPI