By a debugging environment you mean running calibre code in a python debugger?
I've never done that with calibre code, even in linux. Python has excellent support for introspection, so I tend to just use print statements
Read up on the pdb module (Python Debugger) you can use that within calibre.