diff --git a/Debugging.md b/Debugging.md index c016bf4..88b96d0 100644 --- a/Debugging.md +++ b/Debugging.md @@ -14,9 +14,14 @@ You can find stderr output in: ### Dump LSP requests/responses -Use sysdig on Linux: +On Linux: + ```zsh +# sysdig sudo sysdig -As999 --unbuffered -p '%evt.type %proc.name %evt.buffer' "proc.exe contains ccls and fd.type=pipe" | egrep -v '^Content|^$' + +# strace +strace -s999 -e read,write -fp $(pgrep -fn ccls) ``` ### Stopping at the start to debug early issues