wxPython is including the ActiveGrid ide as a sample in its latest point release. The ide includes a debugger that allows you to set breakpoints in source code, inspect values, etc.