Golly completely missed this one, thanks Daniel Nouri.
It allows pdb.set_trace() inside Script (Python) objects.enablesettrace
When it's only two lines of code, you have to bang your head and say, why did I think putting a pdb.set_trace() in a Script (Python) would be any harder.