Debugging Taguette with PyCharm (tested for PyCharm 2021.2)
- Install the poetry plugin for pycharm: https://plugins.jetbrains.com/plugin/14307-poetry
- in PyCharm’s menu: Run/Edit Configurations
- Add a new configuration by clicking the top-left plus icon on by pressing alt+insert on your keyboard.
- Select Python in the pop-up list (other options that show are shell, python test, compund etc.)
- In the main configuration window 5.1. In Module Name type taguette.main 5.2. In Environment, Python interpreter, choose "Poetry (taguette)"
You can now just click on Run/Debug (if you only have one run configuration) or click on Run/Debug... and choose taguette.main to start the debugging.