I want to send SIGUSR1 signal to my node.js application for debugging via terminal. I know command kill -SIGUSR1 <pid>
How can I setup keyboard shortcut for this? If it matters, I use MacOs
Quite old, but for anyone who is looking for answer: SIGUSR (BSD SIGINFO) - ^T (Control and T simultaneously)
To get the pid of your node.js application:
How to get the PID of a process by giving the process name in Mac OS X ?
To create a global shortcut for your command: