Debugging Python Code
Cyberbrain: Python debugging, redefined.
If debugging is the process of removing software bugs, then programming must be the process of putting them in — Edsger Dijkstra
Cyberbrain is a Python debugging solution aiming to free programmers. It visualizes program execution and how each variable changes. Cyberbrain aims to free programmers from debugging. It lets you:
- Backtrace variable changes.
- See every state of program execution, including variables’ values
- Debug loops with confidence.
Never spend hours stepping through a program, let Cyberbrain tell you what happened.
Cyberbrain keeps your workflow unchanged. You run a program (from vscode or command line, both work), and a new panel will be opened to visualize how your program executed.
Installation
Cyberbrain consists of a Python library and various editor/IDE integrations. Currently, it supports VS Code.
To install Cyberbrain:
pip install cyberbrain
code --install-extension laike9m.cyberbrain