-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to debug local running app (not tests)? #3522
Comments
GitMate.io thinks the contributor most likely able to help you is @asvetlov. Possibly related issues are #3198 (Test Client Loop Error with Actual App), #2375 (add a way to run an app asynchron), #1121 (Deprecate debug parameter from app.make_hander()), #2148 (Failed tests), and #2255 (HTTPS test_client doesn't run app with SSL context). |
You are running in docker, it can be a problem. |
/shrug I only get this issue with aiohttp, not with flask/django/other non-async dockerized python projects. |
Please double check your environment. I'm going to close the issue because it is not a feature request or bug report but a usage question of debugger tool even not provided by aiohttp itself. |
How do you use ipdb to debug a local running application? The only reference in the docs are focused on tests, which are less than helpful in my case.
Running with command line
docker-compose run --rm --service-ports aiohttp
results in this output:my web application is started with:
Other things I've tried are from https://docs.python.org/3.6/library/asyncio-dev.html, including
With this kind of project, how do we get ipdb breakpoints to work with no exception stack traces?
The text was updated successfully, but these errors were encountered: