Use the pycharm function of run and just execute python hello.py without adding the runserver parameter. Therefore the script is executed without parameters.
The solution is to use the drop-down arrow of the run option, select the edit configure option, and then add it in script parameters
in the command lineflask-script
To use this plug-in, enterUse the
pycharm
function ofrun
and just executepython hello.py
without adding the runserver parameter. Therefore the script is executed without parameters.The solution is to use the drop-down arrow of the run option, select the
edit configure
option, and then add it inscript parameters
No parameters are added when running
Already in the prompt
Try it
Or change the last line of code to