You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,18 @@ deactivate
103
103
docker stop optimapDB
104
104
```
105
105
106
+
#### Debug Mode Configuration
107
+
108
+
By default, `OPTIMAP_DEBUG` is now set to `False` to ensure a secure and stable production environment. If you need to enable debug mode for development purposes, explicitly set the environment variable in your `.env` file or pass it as an argument when running the server.
109
+
110
+
#### Enable Debug Mode for Development
111
+
112
+
To enable debug mode, add the following to your `.env` file:
113
+
114
+
```env
115
+
OPTIMAP_DEBUG=True
116
+
```
117
+
106
118
### Debug with VS Code
107
119
108
120
Select the Python interpreter created above (`optimap` environment), see instructions at <https://code.visualstudio.com/docs/python/tutorial-django> and <https://code.visualstudio.com/docs/python/environments>.
0 commit comments