Forums

Console for running flask app... how do I get to it

I'm running a flask app on Python Anywhere... When I open up my web app on the browser, I'm getting an error -

Internal Server Error

That's fine, except I don't know how to access the console to see where my code went wrong. Pls help

PS... I know how to start up a new console but I don't know how to access the console as flask app runs in debug mode.

I found it in the web app section of the dashboard under .error.log

Is there anyway I can have access to this in a console in real time as i try to run my web app...

If you refresh the error log page you will see updated log at the bottom of the page. If you prefer to watch it in a console there are bunch of linux commands that provide that functionality -- one of them being tail.