jimblandy / DebuggerDocs

Mozilla JavaScript Debugging Documentation
37 stars 12 forks source link

Document interraction with console actor #27

Open yurydelendik opened 8 years ago

yurydelendik commented 8 years ago

It is really useful to explain how "startListeners", "getCachedMessages", etc. messages and events of a tab console actor are working.

/cc @hbenl

jimblandy commented 8 years ago

Definitely, those should be documented.

This documentation was written many years ago to describe the common characteristics of all protocol participants, and then cover the JavaScript debugging protocol in particular. The protocol was implemented, and then expanded to cover the other developer tools.

The other contributors didn't document their extensions to the protocol, so at this point this documentation doesn't cover most of the actual traffic between the client and server. I think this is unfortunate.