Forums

How do I see my print debug output?

Hi. I'm working in Pycharm and deploy my files directly to pythonanywhere from Pycharm. When I run a webapp I have added some print variable debugging lines but I can't seem to see the output of this like the terminal on my computer. Where to see print debug output on Pythonanywhere? I tried the Web tab where there are Server, Error and Access log but I don't see the output print variable content there. Where to find it when debugging?

If the output goes to the standard output, it should show up in the server log, if you redirect it to the stderr, it should show up in the error log of the web app (it may be a bit delayed due to how our file system works).