skillfed

robotframework-debuglibrary

RobotFramework debug library and an interactive shell

robotframework-debuglibrary v2.5.0 163.1K downloads/30d#10,578 on PyPI105
Permissive license New BSD DORMANT released

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-debuglibrary

uv

uv add robotframework-debuglibrary

poetry

poetry add robotframework-debuglibrary

Installing 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

Development Status :: 5 - Production/StableEnvironment :: ConsoleLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Utilities

Tags

robot framework debugginginteractive test shellrobot framework repltest debugging keywordsrobot framework step debugginginteractive robot shellrfdebug command line
robot-frameworkinteractive-debuggingtest-development

More Utilities packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

charset-normalizer

Detects and normalizes text encoding from…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

pluggy

Pluggy provides a plugin system that lets you…

permissive · top 100 on PyPI

Pygments

Pygments is a syntax highlighter that colorizes…

permissive · top 100 on PyPI

six

Six provides utility functions to write Python…

permissive · top 100 on PyPI

robotframework-seleniumlibrary

SeleniumLibrary is a Robot Framework library…

permissive · top 5,000 on PyPI

robotframework-selenium2library

A Robot Framework library that wraps Selenium…

permissive · top 15,000 on PyPI

robotframework-sshlibrary

A Robot Framework test library for executing…

permissive · top 15,000 on PyPI

robotframework-dependencylibrary

Declares and enforces dependencies between…

permissive · top 15,000 on PyPI

robotframework

Robot Framework is a generic open-source…

permissive · top 5,000 on PyPI

robotframework-appiumlibrary

AppiumLibrary is a Robot Framework library that…

permissive · top 15,000 on PyPI

genie.libs.robot

Provides RobotFramework keywords to interact…

permissive · top 15,000 on PyPI

robotframework-databaselibrary

A Robot Framework library that adds keywords…

permissive · top 15,000 on PyPI

robotframework-imaplibrary2

A Robot Framework library that connects to IMAP…

permissive · top 15,000 on PyPI

robotframework-extendedselenium2library

A Robot Framework library for web browser…

agpl · top 15,000 on PyPI