Simon Frid03/28/2023, 2:44 PM
alex03/28/2023, 9:43 PM
set https://github.com/benfred/py-spy#how-do-i-run-py-spy-in-kubernetes whether you are running the default multiprocess executor or the k8s job executor will effect what process you are hunting for if its the underlying op code you are hoping to get at
Simon Frid03/28/2023, 11:59 PM
I should be able to attach a remote debugger.
python -m debugpy --listen 5678 dagster ...
alex03/29/2023, 12:38 AM
call in python, maybe gated by an env var. I personally recently successfully used
to attach in k8s https://github.com/kmaork/madbg