Skip to content
Snippets Groups Projects
protocol.json 297 KiB
Newer Older
  • Learn to ignore specific revisions
  • 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000
                    "description": "Returns the computed style for a DOM node identified by <code>nodeId</code>."
                },
                {
                    "name": "getPlatformFontsForNode",
                    "parameters": [
                        { "name": "nodeId", "$ref": "DOM.NodeId" }
                    ],
                    "returns": [
                        { "name": "cssFamilyName", "type": "string", "description": "Font family name which is determined by computed style." },
                        { "name": "fonts", "type": "array", "items": { "$ref": "PlatformFontUsage" }, "description": "Usage statistics for every employed platform font." }
                    ],
                    "description": "Requests information about platform fonts which we used to render child TextNodes in the given node.",
                    "hidden": true
                },
                {
                    "name": "getStyleSheetText",
                    "parameters": [
                        { "name": "styleSheetId", "$ref": "StyleSheetId" }
                    ],
                    "returns": [
                        { "name": "text", "type": "string", "description": "The stylesheet text." }
                    ],
                    "description": "Returns the current textual content and the URL for a stylesheet."
                },
                {
                    "name": "setStyleSheetText",
                    "parameters": [
                        { "name": "styleSheetId", "$ref": "StyleSheetId" },
                        { "name": "text", "type": "string" }
                    ],
                    "description": "Sets the new stylesheet text."
                },
                {
                    "name": "setPropertyText",
                    "parameters": [
                        { "name": "styleSheetId", "$ref": "StyleSheetId" },
                        { "name": "range", "$ref": "SourceRange", "description": "Either a source range of the property to be edited or an empty range representing a position for the property insertion." },
                        { "name": "text", "type": "string" }
                    ],
                    "returns": [
                        { "name": "style", "$ref": "CSSStyle", "description": "The resulting style after the property text modification." }
                    ],
                    "description": "Either replaces a property identified by <code>styleSheetId</code> and <code>range</code> with <code>text</code> or inserts a new property <code>text</code> at the position identified by an empty <code>range</code>."
                },
                {
                    "name": "setRuleSelector",
                    "parameters": [
                        { "name": "styleSheetId", "$ref": "StyleSheetId" },
                        { "name": "range", "$ref": "SourceRange" },
                        { "name": "selector", "type": "string" }
                    ],
                    "returns": [
                        { "name": "rule", "$ref": "CSSRule", "description": "The resulting rule after the selector modification." }
                    ],
                    "description": "Modifies the rule selector."
                },
                {
                    "name": "setMediaText",
                    "parameters": [
                        { "name": "styleSheetId", "$ref": "StyleSheetId" },
                        { "name": "range", "$ref": "SourceRange" },
                        { "name": "text", "type": "string" }
                    ],
                    "returns": [
                        { "name": "media", "$ref": "CSSMedia", "description": "The resulting CSS media rule after modification." }
                    ],
                    "description": "Modifies the rule selector."
                },
                {
                    "name": "createStyleSheet",
                    "parameters": [
                        { "name": "frameId", "$ref": "Page.FrameId", "description": "Identifier of the frame where \"via-inspector\" stylesheet should be created."}
                    ],
                    "returns": [
                        { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "Identifier of the created \"via-inspector\" stylesheet." }
                    ],
                    "description": "Creates a new special \"via-inspector\" stylesheet in the frame with given <code>frameId</code>."
                },
                {
                    "name": "addRule",
                    "parameters": [
                        { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "The css style sheet identifier where a new rule should be inserted." },
                        { "name": "ruleText", "type": "string", "description": "The text of a new rule." },
                        { "name": "location", "$ref": "SourceRange", "description": "Text position of a new rule in the target style sheet." }
                    ],
                    "returns": [
                        { "name": "rule", "$ref": "CSSRule", "description": "The newly created rule." }
                    ],
                    "description": "Inserts a new rule with the given <code>ruleText</code> in a stylesheet with given <code>styleSheetId</code>, at the position specified by <code>location</code>."
                },
                {
                    "name": "forcePseudoState",
                    "parameters": [
                        { "name": "nodeId", "$ref": "DOM.NodeId", "description": "The element id for which to force the pseudo state." },
                        { "name": "forcedPseudoClasses", "type": "array", "items": { "type": "string", "enum": ["active", "focus", "hover", "visited"] }, "description": "Element pseudo classes to force when computing the element's style." }
                    ],
                    "description": "Ensures that the given node will have specified pseudo-classes whenever its style is computed by the browser."
                },
                {
                    "name": "getMediaQueries",
                    "returns": [
                        { "name": "medias", "type": "array", "items": { "$ref": "CSSMedia" } }
                    ],
                    "description": "Returns all media queries parsed by the rendering engine.",
                    "hidden": true
                }
            ],
            "events": [
                {
                    "name": "mediaQueryResultChanged",
                    "description": "Fires whenever a MediaQuery result changes (for example, after a browser window has been resized.) The current implementation considers only viewport-dependent media features."
                },
                {
                    "name": "styleSheetChanged",
                    "parameters": [
                        { "name": "styleSheetId", "$ref": "StyleSheetId" }
                    ],
                    "description": "Fired whenever a stylesheet is changed as a result of the client operation."
                },
                {
                    "name": "styleSheetAdded",
                    "parameters": [
                        { "name": "header", "$ref": "CSSStyleSheetHeader", "description": "Added stylesheet metainfo." }
                    ],
                    "description": "Fired whenever an active document stylesheet is added."
                },
                {
                    "name": "styleSheetRemoved",
                    "parameters": [
                        { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "Identifier of the removed stylesheet." }
                    ],
                    "description": "Fired whenever an active document stylesheet is removed."
                }
            ]
        },
        {
            "domain": "Timeline",
            "description": "Timeline domain is deprecated. Please use Tracing instead.",
            "types": [
                {
                    "id": "TimelineEvent",
                    "type": "object",
                    "properties": [
                        { "name": "type", "type": "string", "description": "Event type." },
                        { "name": "data", "type": "object", "description": "Event data." },
                        { "name": "startTime", "type": "number", "description": "Start time." },
                        { "name": "endTime", "type": "number", "optional": true, "description": "End time." },
                        { "name": "children", "type": "array", "optional": true, "items": { "$ref": "TimelineEvent" }, "description": "Nested records." },
                        { "name": "thread", "type": "string", "optional": true, "hidden": true, "description": "If present, identifies the thread that produced the event." },
                        { "name": "stackTrace", "$ref": "Console.StackTrace", "optional": true, "hidden": true, "description": "Stack trace." },
                        { "name": "frameId", "type": "string", "optional": true, "hidden": true, "description": "Unique identifier of the frame within the page that the event relates to." }
                    ],
                    "description": "Timeline record contains information about the recorded activity."
                }
            ],
            "commands": [
                {
                    "name": "enable",
                    "description": "Deprecated."
                },
                {
                    "name": "disable",
                    "description": "Deprecated."
                },
                {
                    "name": "start",
                    "parameters": [
                        { "name": "maxCallStackDepth", "optional": true, "type": "integer", "description": "Samples JavaScript stack traces up to <code>maxCallStackDepth</code>, defaults to 5." },
                        { "name": "bufferEvents", "optional": true, "type": "boolean", "hidden": true, "description": "Whether instrumentation events should be buffered and returned upon <code>stop</code> call." },
                        { "name": "liveEvents", "optional": true, "type": "string", "hidden": true, "description": "Coma separated event types to issue although bufferEvents is set."},
                        { "name": "includeCounters", "optional": true, "type": "boolean", "hidden": true, "description": "Whether counters data should be included into timeline events." },
                        { "name": "includeGPUEvents", "optional": true, "type": "boolean", "hidden": true, "description": "Whether events from GPU process should be collected." }
                    ],
                    "description": "Deprecated."
                },
                {
                    "name": "stop",
                    "description": "Deprecated."
                }
            ],
            "events": [
                {
                    "name": "eventRecorded",
                    "parameters": [
                        { "name": "record", "$ref": "TimelineEvent", "description": "Timeline event record data." }
                    ],
                    "description": "Deprecated."
                }
            ]
        },
        {
            "domain": "Debugger",
            "description": "Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing breakpoints, stepping through execution, exploring stack traces, etc.",
            "types": [
                {
                    "id": "BreakpointId",
                    "type": "string",
                    "description": "Breakpoint identifier."
                },
                {
                    "id": "ScriptId",
                    "type": "string",
                    "description": "Unique script identifier."
                },
                {
                    "id": "CallFrameId",
                    "type": "string",
                    "description": "Call frame identifier."
                },
                {
                    "id": "Location",
                    "type": "object",
                    "properties": [
                        { "name": "scriptId", "$ref": "ScriptId", "description": "Script identifier as reported in the <code>Debugger.scriptParsed</code>." },
                        { "name": "lineNumber", "type": "integer", "description": "Line number in the script (0-based)." },
                        { "name": "columnNumber", "type": "integer", "optional": true, "description": "Column number in the script (0-based)." }
                    ],
                    "description": "Location in the source code."
                },
                {
                    "id": "FunctionDetails",
                    "hidden": true,
                    "type": "object",
                    "properties": [
                        { "name": "location", "$ref": "Location", "optional": true, "description": "Location of the function, none for native functions." },
                        { "name": "functionName", "type": "string", "description": "Name of the function." },
                        { "name": "isGenerator", "type": "boolean", "description": "Whether this is a generator function." },
                        { "name": "scopeChain", "type": "array", "optional": true, "items": { "$ref": "Scope" }, "description": "Scope chain for this closure." }
                    ],
                    "description": "Information about the function."
                },
                {
                    "id": "GeneratorObjectDetails",
                    "hidden": true,
                    "type": "object",
                    "properties": [
                        { "name": "function", "$ref": "Runtime.RemoteObject", "description": "Generator function." },
                        { "name": "functionName", "type": "string", "description": "Name of the generator function." },
                        { "name": "status", "type": "string", "enum": ["running", "suspended", "closed"], "description": "Current generator object status." },
                        { "name": "location", "$ref": "Location", "optional": true, "description": "If suspended, location where generator function was suspended (e.g. location of the last 'yield'). Otherwise, location of the generator function." }
                    ],
                    "description": "Information about the generator object."
                },
                {
                    "id": "CollectionEntry",
                    "hidden": true,
                    "type": "object",
                    "properties": [
                        { "name": "key", "$ref": "Runtime.RemoteObject", "optional": true, "description": "Entry key of a map-like collection, otherwise not provided." },
                        { "name": "value", "$ref": "Runtime.RemoteObject", "description": "Entry value." }
                    ],
                    "description": "Collection entry."
                },
                {
                    "id": "CallFrame",
                    "type": "object",
                    "properties": [
                        { "name": "callFrameId", "$ref": "CallFrameId", "description": "Call frame identifier. This identifier is only valid while the virtual machine is paused." },
                        { "name": "functionName", "type": "string", "description": "Name of the JavaScript function called on this call frame." },
                        { "name": "functionLocation", "$ref": "Location", "optional": true, "hidden": true, "description": "Location in the source code." },
                        { "name": "location", "$ref": "Location", "description": "Location in the source code." },
                        { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." },
                        { "name": "this", "$ref": "Runtime.RemoteObject", "description": "<code>this</code> object for this call frame." },
                        { "name": "returnValue", "$ref": "Runtime.RemoteObject", "optional": true, "hidden": true, "description": "The value being returned, if the function is at return point." }
                    ],
                    "description": "JavaScript call frame. Array of call frames form the call stack."
                },
                {
                    "id": "StackTrace",
                    "type": "object",
                    "properties": [
                        { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "Call frames of the stack trace." },
                        { "name": "description", "type": "string", "optional": true, "description": "String label of this stack trace. For async traces this may be a name of the function that initiated the async call." },
                        { "name": "asyncStackTrace", "$ref": "StackTrace", "optional": true, "description": "Async stack trace, if any." }
                    ],
                    "description": "JavaScript call stack, including async stack traces.",
                    "hidden": true
                },
                {
                    "id": "Scope",
                    "type": "object",
                    "properties": [
                        { "name": "type", "type": "string", "enum": ["global", "local", "with", "closure", "catch", "block", "script"], "description": "Scope type." },
                        { "name": "object", "$ref": "Runtime.RemoteObject", "description": "Object representing the scope. For <code>global</code> and <code>with</code> scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties." }
                    ],
                    "description": "Scope description."
                },
                {
                    "id": "ExceptionDetails",
                    "type": "object",
                    "description": "Detailed information on exception (or error) that was thrown during script compilation or execution.",
                    "properties": [
                        { "name": "text", "type": "string", "description": "Exception text." },
                        { "name": "url", "type": "string", "optional": true, "description": "URL of the message origin." },
                        { "name": "scriptId", "type": "string", "optional": true, "description": "Script ID of the message origin." },
                        { "name": "line", "type": "integer", "optional": true, "description": "Line number in the resource that generated this message." },
                        { "name": "column", "type": "integer", "optional": true, "description": "Column number in the resource that generated this message." },
                        { "name": "stackTrace", "$ref": "Console.StackTrace", "optional": true, "description": "JavaScript stack trace for assertions and error messages." }
                    ]
                },
                {
                    "id": "SetScriptSourceError",
                    "type": "object",
                    "properties": [
                        { "name": "compileError", "optional": true, "type": "object", "properties":
                            [
                                { "name": "message", "type": "string", "description": "Compiler error message" },
                                { "name": "lineNumber", "type": "integer", "description": "Compile error line number (1-based)" },
                                { "name": "columnNumber", "type": "integer", "description": "Compile error column number (1-based)" }
                            ]
                        }
                    ],
                    "description": "Error data for setScriptSource command. compileError is a case type for uncompilable script source error.",
                    "hidden": true
                },
                {
                    "id": "PromiseDetails",
                    "type": "object",
                    "description": "Information about the promise.",
                    "properties": [
                        { "name": "id", "type": "integer", "description": "Unique id of the promise." },
                        { "name": "status", "type": "string", "enum": ["pending", "resolved", "rejected"], "description": "Status of the promise." },
                        { "name": "parentId", "type": "integer", "optional": true, "description": "Id of the parent promise." },
                        { "name": "callFrame", "$ref": "Console.CallFrame", "optional": true, "description": "Top call frame on promise creation."},
                        { "name": "creationTime", "type": "number", "optional": true, "description": "Creation time of the promise." },
                        { "name": "settlementTime", "type": "number", "optional": true, "description": "Settlement time of the promise." },
                        { "name": "creationStack", "$ref": "Console.StackTrace", "optional": true, "description": "JavaScript stack trace on promise creation." },
                        { "name": "asyncCreationStack", "$ref": "Console.AsyncStackTrace", "optional": true, "description": "JavaScript asynchronous stack trace on promise creation, if available." },
                        { "name": "settlementStack", "$ref": "Console.StackTrace", "optional": true, "description": "JavaScript stack trace on promise settlement." },
                        { "name": "asyncSettlementStack", "$ref": "Console.AsyncStackTrace", "optional": true, "description": "JavaScript asynchronous stack trace on promise settlement, if available." }
                    ],
                    "hidden": true
                },
                {
                    "id": "AsyncOperation",
                    "type": "object",
                    "description": "Information about the async operation.",
                    "properties": [
                        { "name": "id", "type": "integer", "description": "Unique id of the async operation." },
                        { "name": "description", "type": "string", "description": "String description of the async operation." },
                        { "name": "stackTrace", "$ref": "Console.StackTrace", "optional": true, "description": "Stack trace where async operation was scheduled." },
                        { "name": "asyncStackTrace", "$ref": "Console.AsyncStackTrace", "optional": true, "description": "Asynchronous stack trace where async operation was scheduled, if available." }
                    ],
                    "hidden": true
                },
                {
                    "id": "SearchMatch",
                    "type": "object",
                    "description": "Search match for resource.",
                    "properties": [
                        { "name": "lineNumber", "type": "number", "description": "Line number in resource content." },
                        { "name": "lineContent", "type": "string", "description": "Line with match content." }
                    ],
                    "hidden": true
                }
            ],
            "commands": [
                {
                    "name": "enable",
                    "description": "Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received."
                },
                {
                    "name": "disable",
                    "description": "Disables debugger for given page."
                },
                {
                    "name": "setBreakpointsActive",
                    "parameters": [
                        { "name": "active", "type": "boolean", "description": "New value for breakpoints active state." }
                    ],
                    "description": "Activates / deactivates all breakpoints on the page."
                },
                {
                    "name": "setSkipAllPauses",
                    "hidden": true,
                    "parameters": [
                        { "name": "skipped", "type": "boolean", "description": "New value for skip pauses state." }
                    ],
                    "description": "Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc)."
                },
                {
                    "name": "setBreakpointByUrl",
                    "parameters": [
                        { "name": "lineNumber", "type": "integer", "description": "Line number to set breakpoint at." },
                        { "name": "url", "type": "string", "optional": true, "description": "URL of the resources to set breakpoint on." },
                        { "name": "urlRegex", "type": "string", "optional": true, "description": "Regex pattern for the URLs of the resources to set breakpoints on. Either <code>url</code> or <code>urlRegex</code> must be specified." },
                        { "name": "columnNumber", "type": "integer", "optional": true, "description": "Offset in the line to set breakpoint at." },
                        { "name": "condition", "type": "string", "optional": true, "description": "Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true." }
                    ],
                    "returns": [
                        { "name": "breakpointId", "$ref": "BreakpointId", "description": "Id of the created breakpoint for further reference." },
                        { "name": "locations", "type": "array", "items": { "$ref": "Location" }, "description": "List of the locations this breakpoint resolved into upon addition." }
                    ],
                    "description": "Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in <code>locations</code> property. Further matching script parsing will result in subsequent <code>breakpointResolved</code> events issued. This logical breakpoint will survive page reloads."
                },
                {
                    "name": "setBreakpoint",
                    "parameters": [
                        { "name": "location", "$ref": "Location", "description": "Location to set breakpoint in." },
                        { "name": "condition", "type": "string", "optional": true, "description": "Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true." }
                    ],
                    "returns": [
                        { "name": "breakpointId", "$ref": "BreakpointId", "description": "Id of the created breakpoint for further reference." },
                        { "name": "actualLocation", "$ref": "Location", "description": "Location this breakpoint resolved into." }
                    ],
                    "description": "Sets JavaScript breakpoint at a given location."
                },
                {
                    "name": "removeBreakpoint",
                    "parameters": [
                        { "name": "breakpointId", "$ref": "BreakpointId" }
                    ],
                    "description": "Removes JavaScript breakpoint."
                },
                {
                    "name": "continueToLocation",
                    "parameters": [
                        { "name": "location", "$ref": "Location", "description": "Location to continue to." },
                        { "name": "interstatementLocation", "type": "boolean", "optional": true, "hidden": true, "description": "Allows breakpoints at the intemediate positions inside statements." }
                    ],
                    "description": "Continues execution until specific location is reached."
                },
                {
                    "name": "stepOver",
                    "description": "Steps over the statement."
                },
                {
                    "name": "stepInto",
                    "description": "Steps into the function call."
                },
                {
                    "name": "stepOut",
                    "description": "Steps out of the function call."
                },
                {
                    "name": "pause",
                    "description": "Stops on the next JavaScript statement."
                },
                {
                    "name": "resume",
                    "description": "Resumes JavaScript execution."
                },
                {
                    "name": "stepIntoAsync",
                    "description": "Steps into the first async operation handler that was scheduled by or after the current statement.",
                    "hidden": true
                },
                {
                    "name": "searchInContent",
                    "parameters": [
                        { "name": "scriptId", "$ref": "ScriptId", "description": "Id of the script to search in." },
                        { "name": "query", "type": "string", "description": "String to search for."  },
                        { "name": "caseSensitive", "type": "boolean", "optional": true, "description": "If true, search is case sensitive." },
                        { "name": "isRegex", "type": "boolean", "optional": true, "description": "If true, treats string parameter as regex." }
                    ],
                    "returns": [
                        { "name": "result", "type": "array", "items": { "$ref": "SearchMatch" }, "description": "List of search matches." }
                    ],
                    "description": "Searches for given string in script content."
                },
                {
                    "name": "canSetScriptSource",
                    "returns": [
                        { "name": "result", "type": "boolean", "description": "True if <code>setScriptSource</code> is supported." }
                    ],
                    "description": "Always returns true."
                },
                {
                    "name": "setScriptSource",
                    "parameters": [
                        { "name": "scriptId", "$ref": "ScriptId", "description": "Id of the script to edit." },
                        { "name": "scriptSource", "type": "string", "description": "New content of the script." },
                        { "name": "preview", "type": "boolean", "optional": true, "description": " If true the change will not actually be applied. Preview mode may be used to get result description without actually modifying the code.", "hidden": true }
                    ],
                    "returns": [
                        { "name": "callFrames", "type": "array", "optional": true, "items": { "$ref": "CallFrame" }, "description": "New stack trace in case editing has happened while VM was stopped." },
                        { "name": "result", "type": "object", "optional": true, "description": "VM-specific description of the changes applied.", "hidden": true },
                        { "name": "asyncStackTrace", "$ref": "StackTrace", "optional": true, "description": "Async stack trace, if any.", "hidden": true }
                    ],
                    "error": {
                        "$ref": "SetScriptSourceError"
                    },
                    "description": "Edits JavaScript source live."
                },
                {
                    "name": "restartFrame",
                    "parameters": [
                        { "name": "callFrameId", "$ref": "CallFrameId", "description": "Call frame identifier to evaluate on." }
                    ],
                    "returns": [
                        { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "New stack trace." },
                        { "name": "result", "type": "object", "description": "VM-specific description." },
                        { "name": "asyncStackTrace", "$ref": "StackTrace", "optional": true, "description": "Async stack trace, if any." }
                    ],
                    "hidden": true,
                    "description": "Restarts particular call frame from the beginning."
                },
                {
                    "name": "getScriptSource",
                    "parameters": [
                        { "name": "scriptId", "$ref": "ScriptId", "description": "Id of the script to get source for." }
                    ],
                    "returns": [
                        { "name": "scriptSource", "type": "string", "description": "Script source." }
                    ],
                    "description": "Returns source for the script with given id."
                },
                {
                    "name": "getFunctionDetails",
                    "hidden": true,
                    "parameters": [
                        { "name": "functionId", "$ref": "Runtime.RemoteObjectId", "description": "Id of the function to get details for." }
                    ],
                    "returns": [
                        { "name": "details", "$ref": "FunctionDetails", "description": "Information about the function." }
                    ],
                    "description": "Returns detailed information on given function."
                },
                {
                    "name": "getGeneratorObjectDetails",
                    "hidden": true,
                    "parameters": [
                        { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "description": "Id of the generator object to get details for." }
                    ],
                    "returns": [
                        { "name": "details", "$ref": "GeneratorObjectDetails", "description": "Information about the generator object." }
                    ],
                    "description": "Returns detailed information on given generator object."
                },
                {
                    "name": "getCollectionEntries",
                    "hidden": true,
                    "parameters": [
                        { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "description": "Id of the collection to get entries for." }
                    ],
                    "returns": [
                        { "name": "entries", "type": "array", "items": { "$ref": "CollectionEntry" }, "description": "Array of collection entries." }
                    ],
                    "description": "Returns entries of given collection."
                },
                {
                    "name": "setPauseOnExceptions",
                    "parameters": [
                        { "name": "state", "type": "string", "enum": ["none", "uncaught", "all"], "description": "Pause on exceptions mode." }
                    ],
                    "description": "Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is <code>none</code>."
                },
                {
                    "name": "evaluateOnCallFrame",
                    "parameters": [
                        { "name": "callFrameId", "$ref": "CallFrameId", "description": "Call frame identifier to evaluate on." },
                        { "name": "expression", "type": "string", "description": "Expression to evaluate." },
                        { "name": "objectGroup", "type": "string", "optional": true, "description": "String object group name to put result into (allows rapid releasing resulting object handles using <code>releaseObjectGroup</code>)." },
                        { "name": "includeCommandLineAPI", "type": "boolean", "optional": true, "description": "Specifies whether command line API should be available to the evaluated expression, defaults to false.", "hidden": true },
                        { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "boolean", "optional": true, "description": "Specifies whether evaluation should stop on exceptions and mute console. Overrides setPauseOnException state.", "hidden": true },
                        { "name": "returnByValue", "type": "boolean", "optional": true, "description": "Whether the result is expected to be a JSON object that should be sent by value." },
                        { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for the result." }
                    ],
                    "returns": [
                        { "name": "result", "$ref": "Runtime.RemoteObject", "description": "Object wrapper for the evaluation result." },
                        { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." },
                        { "name": "exceptionDetails", "$ref": "ExceptionDetails", "optional": true, "hidden": true, "description": "Exception details."}
                    ],
                    "description": "Evaluates expression on a given call frame."
                },
                {
                    "name": "compileScript",
                    "hidden": true,
                    "parameters": [
                        { "name": "expression", "type": "string", "description": "Expression to compile." },
                        { "name": "sourceURL", "type": "string", "description": "Source url to be set for the script." },
                        { "name": "persistScript", "type": "boolean", "description": "Specifies whether the compiled script should be persisted." },
                        { "name": "executionContextId", "$ref": "Runtime.ExecutionContextId", "optional": true, "description": "Specifies in which isolated context to perform script run. Each content script lives in an isolated context and this parameter may be used to specify one of those contexts. If the parameter is omitted or 0 the evaluation will be performed in the context of the inspected page." }
                    ],
                    "returns": [
                        { "name": "scriptId", "$ref": "ScriptId", "optional": true, "description": "Id of the script." },
                        { "name": "exceptionDetails", "$ref": "ExceptionDetails", "optional": true, "description": "Exception details."}
                    ],
                    "description": "Compiles expression."
                },
                {
                    "name": "runScript",
                    "hidden": true,
                    "parameters": [
                        { "name": "scriptId", "$ref": "ScriptId", "description": "Id of the script to run." },
                        { "name": "executionContextId", "$ref": "Runtime.ExecutionContextId", "optional": true, "description": "Specifies in which isolated context to perform script run. Each content script lives in an isolated context and this parameter may be used to specify one of those contexts. If the parameter is omitted or 0 the evaluation will be performed in the context of the inspected page." },
                        { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple objects." },
                        { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "boolean", "optional": true, "description": "Specifies whether script run should stop on exceptions and mute console. Overrides setPauseOnException state." }
                    ],
                    "returns": [
                        { "name": "result", "$ref": "Runtime.RemoteObject", "description": "Run result." },
                        { "name": "exceptionDetails", "$ref": "ExceptionDetails", "optional": true, "description": "Exception details."}
                    ],
                    "description": "Runs script with given id in a given context."
                },
                {
                    "name": "setVariableValue",
                    "parameters": [
                        { "name": "scopeNumber", "type": "integer", "description": "0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch' scope types are allowed. Other scopes could be manipulated manually." },
                        { "name": "variableName", "type": "string", "description": "Variable name." },
                        { "name": "newValue", "$ref": "Runtime.CallArgument", "description": "New variable value." },
                        { "name": "callFrameId", "$ref": "CallFrameId", "optional": true, "description": "Id of callframe that holds variable." },
                        { "name": "functionObjectId", "$ref": "Runtime.RemoteObjectId", "optional": true, "description": "Object id of closure (function) that holds variable." }
                    ],
                    "hidden": true,
                    "description": "Changes value of variable in a callframe or a closure. Either callframe or function must be specified. Object-based scopes are not supported and must be mutated manually."
                },
                {
                    "name": "getStepInPositions",
                    "parameters": [
                        { "name": "callFrameId", "$ref": "CallFrameId", "description": "Id of a call frame where the current statement should be analized" }
                    ],
                    "returns": [
                        { "name": "stepInPositions", "type": "array", "items": { "$ref": "Location" }, "optional": true, "description": "experimental" }
                    ],
                    "hidden": true,
                    "description": "Lists all positions where step-in is possible for a current statement in a specified call frame"
                },
                {
                    "name": "getBacktrace",
                    "returns": [
                        { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "Call stack the virtual machine stopped on." },
                        { "name": "asyncStackTrace", "$ref": "StackTrace", "optional": true, "description": "Async stack trace, if any." }
                    ],
                    "hidden": true,
                    "description": "Returns call stack including variables changed since VM was paused. VM must be paused."
                },
                {
                    "name": "skipStackFrames",
                    "parameters": [
                        { "name": "script", "type": "string", "optional": true, "description": "Regular expression defining the scripts to ignore while stepping." },
                        { "name": "skipContentScripts", "type": "boolean", "optional": true, "description": "True, if all content scripts should be ignored." }
                    ],
                    "hidden": true,
                    "description": "Makes backend skip steps in the sources with names matching given pattern. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful."
                },
                {
                    "name": "setAsyncCallStackDepth",
                    "parameters": [
                        { "name": "maxDepth", "type": "integer", "description": "Maximum depth of async call stacks. Setting to <code>0</code> will effectively disable collecting async call stacks (default)." }
                    ],
                    "hidden": true,
                    "description": "Enables or disables async call stacks tracking."
                },
                {
                    "name": "enablePromiseTracker",
                    "parameters": [
                        { "name": "captureStacks", "type": "boolean", "optional": true, "description": "Whether to capture stack traces for promise creation and settlement events (default: false)." }
                    ],
                    "hidden": true,
                    "description": "Enables promise tracking, information about <code>Promise</code>s created or updated will now be stored on the backend."
                },
                {
                    "name": "disablePromiseTracker",
                    "hidden": true,
                    "description": "Disables promise tracking."
                },
                {
                    "name": "getPromises",
                    "returns": [
                        { "name": "promises", "type": "array", "items": { "$ref": "PromiseDetails" }, "description": "Information about stored promises." }
                    ],
                    "hidden": true,
                    "description": "Returns detailed information about all <code>Promise</code>s that were created or updated after the <code>enablePromiseTracker</code> command, and have not been garbage collected yet."
                },
                {
                    "name": "getPromiseById",
                    "parameters": [
                        { "name": "promiseId", "type": "integer" },
                        { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple objects." }
                    ],
                    "returns": [
                        { "name": "promise", "$ref": "Runtime.RemoteObject", "description": "Object wrapper for <code>Promise</code> with specified ID, if any." }
                    ],
                    "hidden": true,
                    "description": "Returns <code>Promise</code> with specified ID."
                },
                {
                    "name": "flushAsyncOperationEvents",
                    "hidden": true,
                    "description": "Fires pending <code>asyncOperationStarted</code> events (if any), as if a debugger stepping session has just been started."
                },
                {
                    "name": "setAsyncOperationBreakpoint",
                    "parameters": [
                        { "name": "operationId", "type": "integer", "description": "ID of the async operation to set breakpoint for." }
                    ],
                    "hidden": true,
                    "description": "Sets breakpoint on AsyncOperation callback handler."
                },
                {
                    "name": "removeAsyncOperationBreakpoint",
                    "parameters": [
                        { "name": "operationId", "type": "integer", "description": "ID of the async operation to remove breakpoint for." }
                    ],
                    "hidden": true,
                    "description": "Removes AsyncOperation breakpoint."
                }
            ],
            "events": [
                {
                    "name": "globalObjectCleared",
                    "description": "Called when global has been cleared and debugger client should reset its state. Happens upon navigation or reload."
                },
                {
                    "name": "scriptParsed",
                    "parameters": [
                        { "name": "scriptId", "$ref": "ScriptId", "description": "Identifier of the script parsed." },
                        { "name": "url", "type": "string", "description": "URL or name of the script parsed (if any)." },
                        { "name": "startLine", "type": "integer", "description": "Line offset of the script within the resource with given URL (for script tags)." },
                        { "name": "startColumn", "type": "integer", "description": "Column offset of the script within the resource with given URL." },
                        { "name": "endLine", "type": "integer", "description": "Last line of the script." },
                        { "name": "endColumn", "type": "integer", "description": "Length of the last line of the script." },
                        { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script." },
                        { "name": "isInternalScript", "type": "boolean", "optional": true, "description": "Determines whether this script is an internal script.", "hidden": true },
                        { "name": "sourceMapURL", "type": "string", "optional": true, "description": "URL of source map associated with script (if any)." },
                        { "name": "hasSourceURL", "type": "boolean", "optional": true, "description": "True, if this script has sourceURL.", "hidden": true }
                    ],
                    "description": "Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger."
                },
                {
                    "name": "scriptFailedToParse",
                    "parameters": [
                        { "name": "scriptId", "$ref": "ScriptId", "description": "Identifier of the script parsed." },
                        { "name": "url", "type": "string", "description": "URL or name of the script parsed (if any)." },
                        { "name": "startLine", "type": "integer", "description": "Line offset of the script within the resource with given URL (for script tags)." },
                        { "name": "startColumn", "type": "integer", "description": "Column offset of the script within the resource with given URL." },
                        { "name": "endLine", "type": "integer", "description": "Last line of the script." },
                        { "name": "endColumn", "type": "integer", "description": "Length of the last line of the script." },
                        { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script." },
                        { "name": "isInternalScript", "type": "boolean", "optional": true, "description": "Determines whether this script is an internal script.", "hidden": true },
                        { "name": "sourceMapURL", "type": "string", "optional": true, "description": "URL of source map associated with script (if any)." },
                        { "name": "hasSourceURL", "type": "boolean", "optional": true, "description": "True, if this script has sourceURL.", "hidden": true }
                    ],
                    "description": "Fired when virtual machine fails to parse the script."
                },
                {
                    "name": "breakpointResolved",
                    "parameters": [
                        { "name": "breakpointId", "$ref": "BreakpointId", "description": "Breakpoint unique identifier." },
                        { "name": "location", "$ref": "Location", "description": "Actual breakpoint location." }
                    ],
                    "description": "Fired when breakpoint is resolved to an actual script and location."
                },
                {
                    "name": "paused",
                    "parameters": [
                        { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "Call stack the virtual machine stopped on." },
                        { "name": "reason", "type": "string", "enum": [ "XHR", "DOM", "EventListener", "exception", "assert", "CSPViolation", "debugCommand", "promiseRejection", "AsyncOperation", "other" ], "description": "Pause reason." },
                        { "name": "data", "type": "object", "optional": true, "description": "Object containing break-specific auxiliary properties." },
                        { "name": "hitBreakpoints", "type": "array", "optional": true, "items": { "type": "string" }, "description": "Hit breakpoints IDs", "hidden": true },
                        { "name": "asyncStackTrace", "$ref": "StackTrace", "optional": true, "description": "Async stack trace, if any.", "hidden": true }
                    ],
                    "description": "Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria."
                },
                {
                    "name": "resumed",
                    "description": "Fired when the virtual machine resumed execution."
                },
                {
                    "name": "promiseUpdated",
                    "parameters": [
                        { "name": "eventType", "type": "string", "enum": ["new", "update", "gc"], "description": "Type of the event." },
                        { "name": "promise", "$ref": "PromiseDetails", "description": "Information about the updated <code>Promise</code>." }
                    ],
                    "description": "Fired when a <code>Promise</code> is created, updated or garbage collected.",
                    "hidden": true
                },
                {
                    "name": "asyncOperationStarted",
                    "parameters": [
                        { "name": "operation", "$ref": "AsyncOperation", "description": "Information about the async operation." }
                    ],
                    "description": "Fired when an async operation is scheduled (while in a debugger stepping session).",
                    "hidden": true
                },
                {
                    "name": "asyncOperationCompleted",
                    "parameters": [
                        { "name": "id", "type": "integer", "description": "ID of the async operation that was completed." }
                    ],
                    "description": "Fired when an async operation is completed (while in a debugger stepping session).",
                    "hidden": true
                }
            ]
        },
        {
            "domain": "DOMDebugger",
            "description": "DOM debugging allows setting breakpoints on particular DOM operations and events. JavaScript execution will stop on these operations as if there was a regular breakpoint set.",
            "types": [
                {
                    "id": "DOMBreakpointType",
                    "type": "string",
                    "enum": ["subtree-modified", "attribute-modified", "node-removed"],
                    "description": "DOM breakpoint type."
                }
            ],
            "commands": [
                {
                    "name": "setDOMBreakpoint",
                    "parameters": [
                        { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Identifier of the node to set breakpoint on." },
                        { "name": "type", "$ref": "DOMBreakpointType", "description": "Type of the operation to stop upon." }
                    ],
                    "description": "Sets breakpoint on particular operation with DOM."
                },
                {
                    "name": "removeDOMBreakpoint",
                    "parameters": [
                        { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Identifier of the node to remove breakpoint from." },
                        { "name": "type", "$ref": "DOMBreakpointType", "description": "Type of the breakpoint to remove." }
                    ],
                    "description": "Removes DOM breakpoint that was set using <code>setDOMBreakpoint</code>."
                },
                {
                    "name": "setEventListenerBreakpoint",
                    "parameters": [
                        { "name": "eventName", "type": "string", "description": "DOM Event name to stop on (any DOM event will do)." },
                        { "name": "targetName", "type": "string", "optional": true, "description": "EventTarget interface name to stop on. If equal to <code>\"*\"</code> or not provided, will stop on any EventTarget.", "hidden": true }
                    ],
                    "description": "Sets breakpoint on particular DOM event."
                },
                {
                    "name": "removeEventListenerBreakpoint",
                    "parameters": [
                        { "name": "eventName", "type": "string", "description": "Event name." },
                        { "name": "targetName", "type": "string", "optional": true, "description": "EventTarget interface name.", "hidden": true }
                    ],
                    "description": "Removes breakpoint on particular DOM event."
                },
                {
                    "name": "setInstrumentationBreakpoint",
                    "parameters": [
                        { "name": "eventName", "type": "string", "description": "Instrumentation name to stop on." }
                    ],
                    "description": "Sets breakpoint on particular native event.",
                    "hidden": true
                },
                {
                    "name": "removeInstrumentationBreakpoint",
                    "parameters": [
                        { "name": "eventName", "type": "string", "description": "Instrumentation name to stop on." }
                    ],
                    "description": "Removes breakpoint on particular native event.",
                    "hidden": true
                },
                {
                    "name": "setXHRBreakpoint",
                    "parameters": [
                        { "name": "url", "type": "string", "description": "Resource URL substring. All XHRs having this substring in the URL will get stopped upon." }
                    ],
                    "description": "Sets breakpoint on XMLHttpRequest."
                },
                {
                    "name": "removeXHRBreakpoint",
                    "parameters": [
                        { "name": "url", "type": "string", "description": "Resource URL substring." }
                    ],
                    "description": "Removes breakpoint from XMLHttpRequest."
                }
            ]
        },
        {
            "domain": "Profiler",
            "hidden": true,
            "types": [
                {
                    "id": "CPUProfileNode",
                    "type": "object",
                    "description": "CPU Profile node. Holds callsite information, execution statistics and child nodes.",
                    "properties": [
                        { "name": "functionName", "type": "string", "description": "Function name." },
                        { "name": "scriptId", "$ref": "Debugger.ScriptId", "description": "Script identifier." },
                        { "name": "url", "type": "string", "description": "URL." },
                        { "name": "lineNumber", "type": "integer", "description": "1-based line number of the function start position." },
                        { "name": "columnNumber", "type": "integer", "description": "1-based column number of the function start position." },
                        { "name": "hitCount", "type": "integer", "description": "Number of samples where this node was on top of the call stack." },
                        { "name": "callUID", "type": "number", "description": "Call UID." },
                        { "name": "children", "type": "array", "items": { "$ref": "CPUProfileNode" }, "description": "Child nodes." },
                        { "name": "deoptReason", "type": "string", "description": "The reason of being not optimized. The function may be deoptimized or marked as don't optimize."},
                        { "name": "id", "type": "integer", "description": "Unique id of the node." },
                        { "name": "positionTicks", "type": "array", "items": { "$ref": "PositionTickInfo" }, "description": "An array of source position ticks." }
                    ]
                },
                {
                    "id": "CPUProfile",
                    "type": "object",
                    "description": "Profile.",
                    "properties": [
                        { "name": "head", "$ref": "CPUProfileNode" },
                        { "name": "startTime", "type": "number", "description": "Profiling start time in seconds." },
                        { "name": "endTime", "type": "number", "description": "Profiling end time in seconds." },
                        { "name": "samples", "optional": true, "type": "array", "items": { "type": "integer" }, "description": "Ids of samples top nodes." },
                        { "name": "timestamps", "optional": true, "type": "array", "items": { "type": "number" }, "description": "Timestamps of the samples in microseconds." }
                    ]
                },
                {
                    "id": "PositionTickInfo",
                    "type": "object",
                    "description": "Specifies a number of samples attributed to a certain source position.",
                    "properties": [
                        { "name": "line", "type": "integer", "description": "Source line number (1-based)." },
                        { "name": "ticks", "type": "integer", "description": "Number of samples attributed to the source line." }
                    ]
                }
            ],
            "commands": [
                {
                    "name": "enable"
                },
                {
                    "name": "disable"
                },
                {
                    "name": "setSamplingInterval",
                    "parameters": [
                        { "name": "interval", "type": "integer", "description": "New sampling interval in microseconds." }
                    ],
                    "description": "Changes CPU profiler sampling interval. Must be called before CPU profiles recording started."
                },
                {
                    "name": "start"
                },
                {
                    "name": "stop",
                    "returns": [
                        { "name": "profile", "$ref": "CPUProfile", "description": "Recorded profile." }
                    ]
                }
            ],
            "events": [
                {
                    "name": "consoleProfileStarted",
                    "parameters": [
                        { "name": "id", "type": "string" },
                        { "name": "location", "$ref": "Debugger.Location", "description": "Location of console.profile()." },
                        { "name": "title", "type": "string", "optional": true, "description": "Profile title passed as argument to console.profile()." }
    
                    ],
                    "description": "Sent when new profile recodring is started using console.profile() call."
                },
                {
                    "name": "consoleProfileFinished",
                    "parameters": [
                        { "name": "id", "type": "string" },
                        { "name": "location", "$ref": "Debugger.Location", "description": "Location of console.profileEnd()." },
                        { "name": "profile", "$ref": "CPUProfile" },
                        { "name": "title", "type": "string", "optional": true, "description": "Profile title passed as argunet to console.profile()." }
                    ]
                }
            ]
        },
        {
            "domain": "HeapProfiler",
            "hidden": true,
            "types": [
                {
                    "id": "HeapSnapshotObjectId",
                    "type": "string",
                    "description": "Heap snapshot object id."
                }
            ],
            "commands": [
                {
                    "name": "enable"
                },
                {
                    "name": "disable"
                },
                {
                    "name": "startTrackingHeapObjects",
                    "parameters": [
                        { "name": "trackAllocations", "type": "boolean", "optional": true }
                    ]
                },
                {
                    "name": "stopTrackingHeapObjects",
                    "parameters": [
                        { "name": "reportProgress", "type": "boolean", "optional": true, "description": "If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped." }
                    ]
    
                },
                {
                    "name": "takeHeapSnapshot",
                    "parameters": [
                        { "name": "reportProgress", "type": "boolean", "optional": true, "description": "If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken." }
                    ]
                },
                {
                    "name": "collectGarbage"
                },
                {
                    "name": "getObjectByHeapObjectId",
                    "parameters": [
                        { "name": "objectId", "$ref": "HeapSnapshotObjectId" },
                        { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple objects." }
                    ],
                    "returns": [
                        { "name": "result", "$ref": "Runtime.RemoteObject", "description": "Evaluation result." }
                    ]