Simon Frid
03/28/2023, 2:44 PMalex
03/28/2023, 9:43 PMSYS_PTRACE
securityContext
capability
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 atSimon Frid
03/28/2023, 11:59 PMpython -m debugpy --listen 5678 dagster ...
I should be able to attach a remote debugger.alex
03/29/2023, 12:38 AMdebugpy.listen
call in python, maybe gated by an env var.
I personally recently successfully used madbg
to attach in k8s https://github.com/kmaork/madbg