mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 00:55:08 +00:00
strace
parent
0d70eb46a0
commit
8069512751
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user