I am running command-line Python scripts from the Windows taskbar by having a shortcut pointing to the Python interpreter with the actual script as a parameter.
Afte
import pdb pdb.debug()
This is used to debug the script. Should be useful to break also.