The recommended IDE for debugging is Eclipse (www.eclipse.org) with the Python add-on PyDev (www.pydev.org). Both Eclipse and PyDev are open source and can be downloaded from their official websites.
For more information on this topic refer to section "Debugging Python Scripts" in our PowerFactory User Manual.