Debugging a Python Blender plugin

I spent a bunch of time trying to get debugging working on OS X and there’s a few details that aren’t obvious…