Useful snippets

    Debug

    In Python

    raise ValueError("custom message")
    

    In PyCharm

    Top right drop-down menu:

    Edit configurations

    python interpreter:

    <python environment=""></python>
    

    place breakpoint (not in the template, click the left border)

    --OK--

    Debug 'name' (F5) (At least with VS Code keymap)