Pyramid debugging/breakpoints do not work
Using Pycharm 3.0.2 and developing a pyramid 1.5 application, I cannot get breakpoints or debugging to work. The Python debugger will attach fine and work up to the serve() function call in pserve, then will detach and will not honor any breakpoints (nor catch any exceptions) in my actual code. Breakpoints work fine in my __init__.py up to the point where I call:
config.make_wsgi_app()
...then does not work for any code after that.
I've tried both using waitress and also gunicorn (w/ eventlet worker) as my WSGI server. None of it works.
config.make_wsgi_app()
...then does not work for any code after that.
I've tried both using waitress and also gunicorn (w/ eventlet worker) as my WSGI server. None of it works.
Please sign in to leave a comment.
The code I'm using to test debugging is simply the sqlalchemy scaffolding generated when you create a Pyramid project in PyCharm. I put a breakpoint in my_view in views.py.
Windows 7 x64
PyCharm 3.1.3
Python 2.7.6 - 32 bit and 64 bit
Python 3.4.1 - 32 bit and 64 bit
setuptools 3.6
virtualenv 1.11.6
pyramid 1.5
I'm using the web server 'waitress' - the alternative 'paste' does not work with Python 3.