From 260ced00c8b23c5149453db05f614ce8be65ea78 Mon Sep 17 00:00:00 2001 From: Vlad Filippov Date: Mon, 18 Mar 2019 14:00:40 -0400 Subject: [PATCH] Add strace docs to fxa-dev --- docs/product-portal/accounts/local-development.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/product-portal/accounts/local-development.md b/docs/product-portal/accounts/local-development.md index 7a0cfcc7c..94b1637ff 100644 --- a/docs/product-portal/accounts/local-development.md +++ b/docs/product-portal/accounts/local-development.md @@ -90,6 +90,14 @@ sudo docker exec -it auth-server sh -c 'ps aux' # finds the PID sudo docker exec -it auth-server sh -c 'cat /proc/8/environ | xargs -0 -n 1' # outputs args ``` +Using `strace` to debug issues: + +``` +sudo strace -f -s 256 -tt -p 19023 +``` + +where `19023` is the pid of the node process running under docker. `strace` captures and records all system calls. + ### MySQL SSH Access