forked from smallcloudai/refact
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Integrations PDB
refact-planner edited this page Jun 7, 2026
·
1 revision
Control Python debugger sessions from Refact Agent.
The PDB integration exposes the pdb tool to the agent. It starts and controls a Python debugger session so the agent can inspect stack frames, variables, and execution flow.
Configure the Python interpreter path if Refact should use a specific virtual environment or Python installation. Leave it empty to use the default python3 command.
- Start a session with a command such as
python -m pdb script.py. - Send one debugger command at a time, such as
break,continue,list,where,print, orquit. - Use a working directory when the script should run from a specific project path.
- If the debugged process is still running, the agent can wait or stop the session.
PDB runs Python code from your project. Use the same caution you would use when running scripts manually, especially if the program touches files, services, or databases.
Refact on GitHub: https://github.com/JegernOUTT/refact
- Agent Modes
- Agent Tools
- Task Planner & Cards
- Worktrees
- Subagents
- Memory & Knowledge
- Hidden Roles & Plans
- Context Compression
- Scheduler & Cron
- Processes & PTY
- Buddy
- MCP
- Skills, Commands & Hooks
- Marketplace
- Chat System
- Providers
- Caps & Models
- Code Completion (FIM)
- AST
- VecDB
- Exec Runtime
- HTTP API
- Checkpoints & Git
- Voice