Debugging Python programs running on IBM i.

Issue #127 resolved
Jason Olson created an issue

How would you debug a Python program running on IBM i? I know how to debug them in Windows before I move them to IBM i, but I’ve had a situation or two where it runs normally in Windows, but not IBM i.

Jason

Comments (3)

  1. Jesse G

    My two favorite ways are:

    1. use pudb via pip3 install pudb and python3 -m pudb myprogram.py . This is a terminal interface, so you need to run it in an SSH session. It’s good for simpler debug tasks and minimal setup.
    2. This plugin in VSCode works well in my experience: https://marketplace.visualstudio.com/items?itemName=donjayamanne.python-extension-pack
      Doc on debugging is at https://code.visualstudio.com/docs/python/debugging

    I’d suggest joining our OSS chat on Ryver, which is better suited for helping with questions like this. The chat is at http://ibm.biz/ibmioss-chat , and to join, go to http://ibm.biz/ibmioss-chat-join

  2. Log in to comment