Something was wrong with virtual environment, I deleted it and created once again, installed just Flask, and debug modes works fine. Problem solved.