How to debug end to end from a web page

Hi there,

I'm new to Python and pycharm, so forgive me if this is a too simple question.

I have a project with a couple of html files that call python cgi scripts. The files are all in my CGI-bin directory. I'm using OSX with Apache, and it seems to be running fine.

When I launch the index.html file from Pycharm, and enter form fields, then hit submit, Pycharm runs the python script (called webmerge.py), but it does not step into the scrip in Pycharm, it runs it correctly, but without stepping into the code as the breakpoints I have set.

Can anyone provide advice on how to debug web pages that call python cgi bin scripts? I can't get it to step into the python script.

Thanks,

Jeremy

Please sign in to leave a comment.