This should be possible on Firefox too: https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugg...