I know I can launch chrome the following way to open a remote debugging port at 9222 port -
chrome.exe --remote-debugging-port=9222
But I
I can't add comments yet, But David Mann's answer is out of date for MacOS.
Thankfully only one slight change is needed; Add the bash shebang to the Chrome Debugger script.
#!/bin/bash
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222&
this update for mac users was found here: Enable remote debugging on Chrome by default on mac?
Nat Khun also went to the trouble of crafting a .dmg to allow for a "normal" installation procedure for mac users. His repo can be found here: https://github.com/natkuhn/Chrome-debug/
be sure to give him a star. I did!