-
Notifications
You must be signed in to change notification settings - Fork 176
Not planned
Labels
Description
It'd be really nice if the protocol viewer showed some sample messages
{
"callFrameId": "{\"ordinal\":0,\"injectedScriptId\":2}",
"functionName": "module.exports.Router.extend.index",
"location": {
"scriptId": "34",
"lineNumber": 26642,
"columnNumber": 23
},
"scopeChain": [
{
"object": {
"type": "object",
"objectId": "{\"injectedScriptId\":2,\"id\":1}",
"className": "Object",
"description": "Object"
},
"type": "local"
},
{
"object": {
"type": "object",
"objectId": "{\"injectedScriptId\":2,\"id\":2}",
"className": "Object",
"description": "Object"
},
"type": "closure"
},
{
"object": {
"type": "object",
"objectId": "{\"injectedScriptId\":2,\"id\":3}",
"className": "Window",
"description": "Window"
},
"type": "global"
}
],
"this": {
"type": "object",
"objectId": "{\"injectedScriptId\":2,\"id\":4}",
"className": "child",
"description": "child"
}
}
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
paulirish commentedon Jun 29, 2015
agree, though i dont know an easy way to get these that match the version of the protocol we show.
[-]Show sample message[/-][+]Show sample response objects[/+]OrKoN commentedon Aug 9, 2025
I think it's unlikely that we will ever have examples for each command/event on the site.