diff --git a/docs/debugger-protocol.html b/docs/debugger-protocol.html index 12418f4..689216d 100644 --- a/docs/debugger-protocol.html +++ b/docs/debugger-protocol.html @@ -22,7 +22,7 @@

Stable

- Debugger protocol version 1.1 is the most recent stable release of the protocol. + Debugger protocol version 1.1 is the most recent stable release of the protocol.

As of Google Chrome 31, we commit to supporting v1.1. All subsequent 1.* versions of the protocol are going to be backwards compatible with 1.1. Our protocol backwards compatibility commitment is: @@ -46,10 +46,10 @@

The tip-of-tree protocol is volatile and may break at any time. However it captures the full capabilities of the Protocol, whereas the stable release is a subset. There is no backwards compatibility support guaranteed for the capabilities it introduces. You can use it with Google Canary - builds at your own risk. + builds at your own risk.

The tip-of-tree protocol is more readable in the debugger protocol viewer. - +

Sniffing the protocol

You can inspect how the Chrome DevTools uses the protocol. This is especially handy when looking up newer features. First, run Chrome with the debugging port open:

/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --remote-debugging-port=9222 http://localhost:9222 http://chromium.org
Then, select the Chromium Projects item in the Inspectable Pages list. Now that DevTools is up and fullscreen, open DevTools to inspect it. Cmd-R in the new inspector to make the first restart. Now head to Network Panel, filter by Websocket, select the connection and click the Frames tab. Now you can easily see the frames of WebSocket activity as you use the first instance of the DevTools.

@@ -119,8 +119,8 @@

Debugging Protocol Clients

-

Many applications and libraries already use the protocol. Some to collect - performance data, others to breakpoint debug from another editor. There are +

Many applications and libraries already use the protocol. Some to collect + performance data, others to breakpoint debug from another editor. There are libraries to access the raw protocol from Node.js and Python.

@@ -135,7 +135,7 @@

Using debugger extension API

To allow third parties to interact with the protocol, we introduced - chrome.debugger + chrome.debugger extension API that exposes this JSON message transport interface. As a result, you can not only attach to the remotely running Chrome instance, but also instrument it from its own extension. @@ -172,8 +172,8 @@ We currently do not support multiple clients connected to the protocol simultaneously. This includes opening DevTools while another client is connected. On the bug tracker, crbug.com/129539 follows the issue; you can star it for email updates.

- Upon disconnnection, the outgoing client will receive a detached event. For example: {"method":"Inspector.detached","params":{"reason":"replaced_with_devtools"}}. View the enum of possible reasons. (For reference: the original patch). After disconnection, some apps have chosen to pause their state and offer a reconnect button. -

+ Upon disconnnection, the outgoing client will receive a detached event. For example: {"method":"Inspector.detached","params":{"reason":"replaced_with_devtools"}}. View the enum of possible reasons. (For reference: the original patch). After disconnection, some apps have chosen to pause their state and offer a reconnect button. +