Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have written a bunch of code in python using Flask and Python.

When I build it on Sublime Text 2 no errors occur and in the bottom it just says:

* Running on http://127.0.0.1:5000/

When I go to the url it says

500 Internal Server error

How can I debug this so I know where the fault is? I'm working in a mac laptop.

share|improve this question
1  
In your console tracebacks should be printed. If you run in debug mode, you can also see the traceback in your browser. –  Martijn Pieters Feb 28 at 16:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.