T
T
Tashiro2014-08-15 06:05:56
Flask
Tashiro, 2014-08-15 06:05:56

PyCharm + pydev + python3.4 + Flask breakpoint not working, how to overcome?

I am using Flask on 3.4 python. Breakpoints inside route functions do not work, it seems that calls in decorated functions are not debugged at all.

that is, when you run app.run(), the debugger works as it should, as soon as it comes to a request from the web (localhost), the debugger does not react to points in any way, can anyone come across it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Tashiro, 2014-08-15
@Tashiro

hmm, found the reason:

from app import app

app.run(debug=True)

when debugging is enabled, debugging will not work on Flask.
set debug=False

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question