Skip to main content
2 of 2
edited body
Aldrik
  • 9.8k
  • 23
  • 56
  1. Launch blender from a terminal emulator.
  2. Add import pdb; pdb.set_trace() to your code where you wish to start debugging from.
  3. Run your code and you'll be put into the Python debugger, where you can use sEnter to step through the code.

See the pdb documentation for more info on usage. Also for the nicer ipython debugger (features syntax highlighting and tab completion), you can use ipdb.

Aldrik
  • 9.8k
  • 23
  • 56