Debug a CGI

Hi.
I have a web application that call a Python script and sent to it POST data.
The code is like:

form = cgi.FieldStorage()
session_id = form.getvalue('session_id', 0)

How can I debug the python code with Pycharm calling the script from the web browser and the POST data?

Thanks
1 comment
Comment actions Permalink

You can use remote debugging

https://www.jetbrains.com/pycharm/help/remote-debugging.html

But only in Pro version :(

0

Please sign in to leave a comment.