How to stop Chrome's Node Dev Tools from focusing the window every time the app restarts?

Viewed 1238

I've started my Node app with the --inspect flag and I'm using Chrome's Node Dev Tools at url about:inspect; works great.

The problem is I am also using PM2 Node process manager to watch my files and auto-restart my Node process whenever there are changes, as I normally do in development, and every time I save a file the Node Dev Tools window takes focus.

I can't find anything about this in the Dev Tools settings.

I'm on Chrome 62.0.3202.89, Ubuntu 16.04 64-bit, if that matters.

Side question: is it possible to have Chrome Dev Tools in a tab instead of a floating window? I thought this used to be possible but now I can't find the option.

0 Answers
Related