Debugging Python that connects to DB2 Files #2704
-
Hello, We've begun to use Python more extensively mostly when working with JSON. Normally the input or output of the JSON processing are DB2 files on our IBMi. I'd love to be able to debug my Python from VS Code while having it connect to the DB2 files and also still have the code run properly when it's running natively on the IBMi. Full disclosure I am fairly new to Python although someone else on my team has more experience but none of us know a good method to do what I am describing. Hoping the community here may know some methods / best practices. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Debugging Python locally, which is connecting to Db2 for i, is something that a majority of my team is able to do. Here is a link to the VS Code docs on Python debugging, which also includes a guide on remote debugging. |
Beta Was this translation helpful? Give feedback.
Debugging Python locally, which is connecting to Db2 for i, is something that a majority of my team is able to do. Here is a link to the VS Code docs on Python debugging, which also includes a guide on remote debugging.
https://code.visualstudio.com/docs/python/debugging