Add IPC notifications for tracking and profiling

I'm guessing this is following the example below for `fork`, but I suspect both should actually be `debug()`.

@sam-github you used `console.log` below, do you have any thoughts?