-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how can i change your project to debug mode? #1
Comments
You can enable debugging through the command line within the project
directory using environment variables.
Bash:
```bash
$ export FLASK_ENV=development
$ export FLASK_DEBUG = True
```
Cmd:
```bash
set FLASK_ENV=development
set FLASK_DEBUG = True
```
Powershell:
```bash
$env:FLASK_ENV = "development"
$env:FLASK_DEBUG = True
```
…On Sun, Mar 20, 2022, 6:51 AM sjlee3573 ***@***.***> wrote:
how can i change your project to debug mode?
—
Reply to this email directly, view it on GitHub
<#1>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACNY3ROTBQQP6T3Y624VMEDVA2ADLANCNFSM5REZRFXA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thank you for your answer :) problem solved Thanks again !!:) |
Please close this issue if it's solved. I've no longer access to this
account.
…On Sun, Mar 20, 2022 at 2:18 PM sjlee3573 ***@***.***> wrote:
Thank you for your answer :) I have tried your soloution however not
working :(
i'm running your source core using Mac OS and VSCODE python virtual
environment
###########################################
(venv) library-management-system-master % set FLASK_APP=app.py
(venv) library-management-system-master % set FLASk_ENV=development
(venv) library-management-system-master % set FLASK_DEBUG = True
(venv) library-management-system-master % flask run
- Environment: production
WARNING: This is a development server. Do not use it in a production
deployment.
Use a production WSGI server instead.
- Debug mode: off
- Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
###################################################
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACNY3RMJZUA236FADFWEMBDVA3UMVANCNFSM5REZRFXA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how can i change your project to debug mode?
The text was updated successfully, but these errors were encountered: