I had this problem with React Native Debugger and i google it to find a solution, i didn’t find something related to react native debugger but i found how to kill a process from terminal. So how to kill a process from terminal ?
We have two options, one from GUI, but sometimes is not working and the best one is from terminal.
From GUI you need to open System Monitor and find the process that you want to close, in my case React Native Debugger and then click on “End Process”.
And the last option, the one that is really working is from your console/terminal
To view every process:
ps -A or ps -e
To kill a process, either find the process name and type:
kill -9 processname
or kill the process ID (PID):
kill pid
You can use
to find the process that you are sure is stuck:ps -A | grep <name>
Then you can run
and again the first command to see if the process is killed or not.kill -9 PID