Debugging Pyramid with PyCharm
I recently came across the PyCharm IDE and almost instantly fell in love.
PyCharm is made by JetBrains, the developers of IntelliJ IDEA and ReSharper - these guys have proven their ability to create full-featured, developer-friendly IDEs in the past and its obvious they used their knowledge to create PyCharm, too.
While PyCharm supports Django and GAE out of the box, it can certainly be used for other frameworks. Sean has written some excellent instructions to debug Pylons with PyCharm and the steps required to debug Pyramid are exactly the same:
- Click “Run” > “Edit Configurations”
- Press “Insert” and choose “Python”
- Give the configuration a name, e. g. Pyramid
- Insert the script to paster:
- Insert the script parameters WITHOUT –reload:
- Choose the right Python interpreter from the dropdown