Skip to content

Instantly share code, notes, and snippets.

@jdittrich
Created November 16, 2021 20:31
Show Gist options
  • Save jdittrich/23a6d6c4dc9ed93ead63c3bd5be66f6f to your computer and use it in GitHub Desktop.
Save jdittrich/23a6d6c4dc9ed93ead63c3bd5be66f6f to your computer and use it in GitHub Desktop.
A gist that describes how

Debugging Taguette with PyCharm (tested for PyCharm 2021.2)

  1. Install the poetry plugin for pycharm: https://plugins.jetbrains.com/plugin/14307-poetry
  2. in PyCharm’s menu: Run/Edit Configurations
  3. Add a new configuration by clicking the top-left plus icon on by pressing alt+insert on your keyboard.
  4. Select Python in the pop-up list (other options that show are shell, python test, compund etc.)
  5. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment