Thanks!
That got that going but now I’m not sure what the command is to actually run py-spy in “HA Container”.
I’ve exec’ed into the container and I found the PID using top but when I run:
py-spy record --pid 206 --output /config/www/py-spy.svg --duration 120
I get:
“Permission Denied: Try running again with elevated permissions by going ‘sudo env “PATH=$PATH” !!’”
Then when I try to run anything with sudo it says “sudo: command not found”.
Any idea what the correct command to run is inside the container to actually get py-spy to run in “HA Container” (not HassOS)