press
press copied to clipboard
py-spy for bench processes
Probably hard to do as is: https://github.com/benfred/py-spy/blob/master/README.md#how-do-i-run-py-spy-in-docker Maybe agent can generate dumps for you
Btw it works fine outside of docker too. Still requires root though.
@Wackyator
You can cheat by adding
frappe ALL = (root) NOPASSWD: /usr/local/bin/py-spy
in /etc/sudoers.d/frappe and then do sudo py-spy
@Aradhya-Tripathi
closing - https://github.com/frappe/agent/pull/178