Start tracing a specific process by its PID

strace

strace -p {{pid}}

click the source code to copy install strace on any operating system with command-not-found.com