Skip to content

sigmaSd/ipc-spy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPC-Spy

Spy on inter process comunication(IPC)

What does it do?

Spy on ipc communications, by replacing the binary that is spawned with a wrapper that logs all the communication while still forwarding the messages to the original processes.

This is for example useful to see what an lsp is sending exactly, or any other based ipc setup.

Install

deno install -A jsr:@sigmasd/ipc-spy

Usage

ipc-spy $pathTotargetfile

This will create a new executable with -spy suffix appeneded to it in the current directory.

The next step is to run the new program $file-spy or make another program call it (like a text editor in case of lsp).

Now the messages will be logged to $tmp/${executable_name}_stdin.log, $tmp/${executable_name_stdout}.log and $tmp/${executable_name_stderr}.log

Examples

Example 1

Screencast.from.2024-03-23.17-06-44.webm

About

Spy on inter process comunication (IPC)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors