Sander van Dragt's Notes

OK I figured out a very useful #Godot debugging trick: conditional breakpoints are not supported natively but can be added to your code.

  1. Set an if statement for the condition or expression you want to break on.
  2. As the code block for the condition being true add pass and set a breakpoint on this line.
  3. After hitting it, all the debugging tools are available.