Advertisement
Guest User

Untitled

a guest
May 31st, 2018
372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1. {
  2.             "name": "Python: Flask",
  3.             "type": "python",
  4.             "request": "launch",
  5.             "stopOnEntry": false,
  6.             "program": "${workspaceRoot}/run.py",
  7.             "env": {
  8.                 "FLASK_ENV": "development"
  9.             }
  10.         },
  11. }
  12.  
  13. # run.py
  14. from app import create_app
  15.  
  16. app = create_app()
  17. app.run(debug=True, use_debugger=False, use_reloader=False)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement