This tool makes it easy to debug Python nodes in Dynamo for Revit. Currently, it only supports CPython3 and integrates with Visual Studio Code for debugging.
- Dynamo for Revit
- Python 3.x
- Visual Studio Code
python -m pip install "git+https://github.com/gswifort/[email protected]"-
Create Dynamo project
-
Run
dynamo_debuggerscriptpython -m dynamo_debugger demo.dyn
-
A temporary project directory has been created in the Dynamo source files folder
. ├── demo.dyn └── demo.dynycrmmkrh/ ├── .vscode/ │ └── launch.json ├── _node_id_to_file.json ├── demo.dyn ├── python_node_000.py └── start_debug.dyn -
Open
start_debug.dynin Dynamo to start debugging (only once per Dynamo session) -
Start debug session in VSCode
-
Add breakpoints in the Python nodes in VSCode
-
Open temporary source file in dynamo and run script
MIT License




