Open sjlee3573 opened 2 years ago
You can enable debugging through the command line within the project directory using environment variables.
Bash:
$ export FLASK_ENV=development
$ export FLASK_DEBUG = True
Cmd:
> set FLASK_ENV=development
> set FLASK_DEBUG = True
Powershell:
> $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 https://github.com/hamzaavvan/library-management-system/issues/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 https://github.com/hamzaavvan/library-management-system/issues/1#issuecomment-1073207809, 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: @.***>
how can i change your project to debug mode?