You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has anyone managed to debug avocado tests via debugpy and remote attach or any other way? I tried something along the lines
PYTHONPATH=$PYTHONPATH:. python3 -m debugpy --listen 0.0.0.0:5678 --wait-for-client /usr/bin/avocado run selftests/isolation/test_params_parser.py:ParamsParserTest.test_get_parser_cached
but I guess because avocado spawns subprocesses all of my breaking points are ineffective and skipped. Perhaps someone managed to pass some env variables or patch the subprocesses and ultimately make it work?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Has anyone managed to debug avocado tests via debugpy and remote attach or any other way? I tried something along the lines
but I guess because avocado spawns subprocesses all of my breaking points are ineffective and skipped. Perhaps someone managed to pass some env variables or patch the subprocesses and ultimately make it work?
All reactions