Simplify Debugging Python Nodes in Dynamo ๐Ÿš€

Hi Dynamo enthusiasts! :waving_hand:

Are you tired of struggling to debug Python nodes in Dynamo for Revit? Iโ€™ve got great news for you! Introducing Dynamo Python Node Debugger, a tool designed to make debugging Python nodes easier, faster, and more efficient. Whether youโ€™re working on complex scripts or just starting out, this tool integrates seamlessly with Visual Studio Code to give you full control over your Python code.

What does it do?

  • Extracts Python nodes from your Dynamo .dyn files and creates temporary Python files for debugging.
  • Generates a temporary project with all necessary configurations, including a launch.json file for Visual Studio Code.
  • Automatically overwrites the Python nodes in your Dynamo script to execute the temporary (generated) Python modules, ensuring your debugging session uses the exact code you are editing and stepping through in Visual Studio Code.
  • Supports CPython3 for debugging Python nodes in Dynamo.

Screenshots

Where to get the code?

The source code is available here.

7 Likes