It looks like firefox has a remote debugging protocol,
https://wiki.mozilla.org/Remote_Debugging_Protocol
Does anyone know of any tools that would allow emacs to make a connection and to allow debugging from within emacs? Maybe I should file a feature request to port their protocol to a swank/slime protocol?