OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 { | 6 { |
7 "namespace": "debugger", | 7 "namespace": "debugger", |
| 8 "description": "Use <code>chrome.debugger</code> to attach to one or more ta
bs to instrument network interaction, debug JavaScript, mutate the DOM and CSS,
etc.", |
8 "types": [ | 9 "types": [ |
9 { | 10 { |
10 "id": "Debuggee", | 11 "id": "Debuggee", |
11 "type": "object", | 12 "type": "object", |
12 "description": "Debuggee identifier. Either tabId or extensionId must be
specified", | 13 "description": "Debuggee identifier. Either tabId or extensionId must be
specified", |
13 "properties": { | 14 "properties": { |
14 "tabId": { "type": "integer", "optional": true, "description": "The id
of the tab which you intend to debug." }, | 15 "tabId": { "type": "integer", "optional": true, "description": "The id
of the tab which you intend to debug." }, |
15 "extensionId": { "type": "string", "optional": true, "description": "T
he id of the extension which you intend to debug. Attaching to an extension back
ground page is only possible when 'enable-silent-debugging' flag is enabled on t
he target browser." } | 16 "extensionId": { "type": "string", "optional": true, "description": "T
he id of the extension which you intend to debug. Attaching to an extension back
ground page is only possible when 'enable-silent-debugging' flag is enabled on t
he target browser." } |
16 } | 17 } |
17 } | 18 } |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 "type": "string", | 140 "type": "string", |
140 "name": "reason", | 141 "name": "reason", |
141 "description": "Connection termination reason.", | 142 "description": "Connection termination reason.", |
142 "enum": [ "target_closed", "canceled_by_user", "replaced_with_devtoo
ls" ] | 143 "enum": [ "target_closed", "canceled_by_user", "replaced_with_devtoo
ls" ] |
143 } | 144 } |
144 ] | 145 ] |
145 } | 146 } |
146 ] | 147 ] |
147 } | 148 } |
148 ] | 149 ] |
OLD | NEW |