![python interpreter pycharm python interpreter pycharm](https://opensource.ncsa.illinois.edu/confluence/download/attachments/178913575/add_docker_image.png)
It is recommended to keep both, using the first with the "Run" command and the second with the "Debug" command. The -debug-server flag may cause the process to not respond correctly to SIGINT and to shut down less gracefully than your original configuration.
![python interpreter pycharm python interpreter pycharm](https://miro.medium.com/max/780/1*RyVBGtGIAGWskoUIBbNjaw.png)
Launch it by selecting "Debug" rather than "Run". This allows the same P圜harm "Debug" action that launches the devserver to attach to the web server and hit breakpoints on its back end.Ĭlone your devserver run configuration and add -debug-server to the end of the "Parameters" field. The devserver command has a special flag that will cause the web server to be launched in a thread of the same process (rather than as the web daemon). The devserver command exists mainly to spawn daemons in separate processes, which means it is not very useful to attach a debugger to it in its default mode. If the repository also has a parent directory named getsentry to correspond to the GitHub org name, the correct paths may contain getsentry/getsentry/getsentry. Note that the paths in step 2 and 4 refer to the directory named getsentry within the repository named getsentry. Change the working directory to getsentry/getsentry.You may need to go into P圜harm's global "Preferences" window and add it as a project interpreter ("Project: sentry > Project Interpreter"). venv/bin/python within your getsentry project. Change the Python interpreter to point at.
PYTHON INTERPRETER PYCHARM FULL
So the full value should look like -config=./settings.py devserver -workers.