Genese complexity report

<- inspector.d.ts
Methods : 302
Complexity index : 276.1
Cyclomatic complexity : 301
Cognitive complexity
100 % Correct 302/302
0 % Warning 0/302 (threshold : 10)
0 % Error 0/302 (threshold : 20)
Cyclomatic complexity
100 % Correct 302/302
0 % Warning 0/302 (threshold : 5)
0 % Error 0/302 (threshold : 10)
Methods of inspector.d.ts
Complexity Index 0 Cyclomatic complexity 0
                            
                                
                
                    /**
                     * Create a new instance of the inspector.Session class.
                     * The inspector session needs to be connected through session.connect() before the messages can be dispatched to the inspector backend.
                     */
                    constructor();
            
                            
                        
connect Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Connects a session to the inspector back-end.
                     * An exception will be thrown if there is already a connected session established either
                     * through the API or by a front-end connected to the Inspector WebSocket port.
                     */
                    connect(): void; // -------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
disconnect Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Immediately close the session. All pending message callbacks will be called with an error.
                     * session.connect() will need to be called to be able to send messages again.
                     * Reconnected session will lose all inspector state, such as enabled agents or configured breakpoints.
                     */
                    disconnect(): void; // ------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
post Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Posts a message to the inspector back-end. callback will be notified when a response is received.
                     * callback is a function that accepts two optional arguments - error and message-specific result.
                     */
                    post(method: string, params?: {}, callback?: (err: Error | null, params?: {}) => void): void; // -------------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
post Complexity Index 1 Cyclomatic complexity 1
                            
                                
                    
                    post(method: string, callback?: (err: Error | null, params?: {}) => void): void; // -------------------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Returns supported domains.
                     */
                    post(method: "Schema.getDomains", callback?: (err: Error | null, params: Schema.GetDomainsReturnType) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Evaluates expression on global object.
                     */
                    post(method: "Runtime.evaluate", params?: Runtime.EvaluateParameterType, callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Runtime.evaluate", callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; // ----------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Add handler to promise with given promise object id.
                     */
                    post(method: "Runtime.awaitPromise", params?: Runtime.AwaitPromiseParameterType, callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Runtime.awaitPromise", callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; // --------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Calls function with given declaration on the given object. Object group of the result is inherited from the target object.
                     */
                    post(method: "Runtime.callFunctionOn", params?: Runtime.CallFunctionOnParameterType, callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Runtime.callFunctionOn", callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; // ----------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Returns properties of a given object. Object group of the result is inherited from the target object.
                     */
                    post(method: "Runtime.getProperties", params?: Runtime.GetPropertiesParameterType, callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Runtime.getProperties", callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; // ---------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Releases remote object with given id.
                     */
                    post(method: "Runtime.releaseObject", params?: Runtime.ReleaseObjectParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Runtime.releaseObject", callback?: (err: Error | null) => void): void; // ---------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Releases all remote objects that belong to a given group.
                     */
                    post(method: "Runtime.releaseObjectGroup", params?: Runtime.ReleaseObjectGroupParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Runtime.releaseObjectGroup", callback?: (err: Error | null) => void): void; // --------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Tells inspected instance to run if it was waiting for debugger to attach.
                     */
                    post(method: "Runtime.runIfWaitingForDebugger", callback?: (err: Error | null) => void): void; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Enables reporting of execution contexts creation by means of <code>executionContextCreated</code> event. When the reporting gets enabled the event will be sent immediately for each existing execution context.
                     */
                    post(method: "Runtime.enable", callback?: (err: Error | null) => void): void; // --------------------------------------------------------------------------------------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Disables reporting of execution contexts creation.
                     */
                    post(method: "Runtime.disable", callback?: (err: Error | null) => void): void; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Discards collected exceptions and console API calls.
                     */
                    post(method: "Runtime.discardConsoleEntries", callback?: (err: Error | null) => void): void; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * @experimental
                     */
                    post(method: "Runtime.setCustomObjectFormatterEnabled", params?: Runtime.SetCustomObjectFormatterEnabledParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Runtime.setCustomObjectFormatterEnabled", callback?: (err: Error | null) => void): void; // ---------------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Compiles expression.
                     */
                    post(method: "Runtime.compileScript", params?: Runtime.CompileScriptParameterType, callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Runtime.compileScript", callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; // ---------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Runs script with given id in a given context.
                     */
                    post(method: "Runtime.runScript", params?: Runtime.RunScriptParameterType, callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Runtime.runScript", callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; // ------------------------------------------------ +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    post(method: "Runtime.queryObjects", params?: Runtime.QueryObjectsParameterType, callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Runtime.queryObjects", callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; // --------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Returns all let, const and class variables from global scope.
                     */
                    post( // ----------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                        method: "Runtime.globalLexicalScopeNames", // ------------------------------------------------------------------------------------ +0.2 Complexity index (+0.2 atomic)
                        params?: Runtime.GlobalLexicalScopeNamesParameterType, // ------------------------------------------------------------------------ +0.3 Complexity index (+0.3 atomic)
                        callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void // ------------------------------------- +0.8 Complexity index (+0.8 atomic)
                    ): void; // -------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Runtime.globalLexicalScopeNames", callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received.
                     */
                    post(method: "Debugger.enable", callback?: (err: Error | null, params: Debugger.EnableReturnType) => void): void; // ------------------------------------------ +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Disables debugger for given page.
                     */
                    post(method: "Debugger.disable", callback?: (err: Error | null) => void): void; // ----------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Activates / deactivates all breakpoints on the page.
                     */
                    post(method: "Debugger.setBreakpointsActive", params?: Debugger.SetBreakpointsActiveParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.setBreakpointsActive", callback?: (err: Error | null) => void): void; // ------------------------------------------------------------ +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
                     */
                    post(method: "Debugger.setSkipAllPauses", params?: Debugger.SetSkipAllPausesParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.setSkipAllPauses", callback?: (err: Error | null) => void): void; // -------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * 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.
                     */
                    post(method: "Debugger.setBreakpointByUrl", params?: Debugger.SetBreakpointByUrlParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; // ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.setBreakpointByUrl", callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; // ---------------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Sets JavaScript breakpoint at a given location.
                     */
                    post(method: "Debugger.setBreakpoint", params?: Debugger.SetBreakpointParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.setBreakpoint", callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; // ----------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Removes JavaScript breakpoint.
                     */
                    post(method: "Debugger.removeBreakpoint", params?: Debugger.RemoveBreakpointParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.removeBreakpoint", callback?: (err: Error | null) => void): void; // -------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Returns possible locations for breakpoint. scriptId in start and end range locations should be the same.
                     */
                    post( // ------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                        method: "Debugger.getPossibleBreakpoints", // -------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                        params?: Debugger.GetPossibleBreakpointsParameterType, // -------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
                        callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void // --------------------- +0.8 Complexity index (+0.8 atomic)
                    ): void; // ---------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.getPossibleBreakpoints", callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Continues execution until specific location is reached.
                     */
                    post(method: "Debugger.continueToLocation", params?: Debugger.ContinueToLocationParameterType, callback?: (err: Error | null) => void): void; // ----------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.continueToLocation", callback?: (err: Error | null) => void): void; // ---------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * @experimental
                     */
                    post(method: "Debugger.pauseOnAsyncCall", params?: Debugger.PauseOnAsyncCallParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.pauseOnAsyncCall", callback?: (err: Error | null) => void): void; // -------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Steps over the statement.
                     */
                    post(method: "Debugger.stepOver", callback?: (err: Error | null) => void): void; // --------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Steps into the function call.
                     */
                    post(method: "Debugger.stepInto", params?: Debugger.StepIntoParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.stepInto", callback?: (err: Error | null) => void): void; // ------------------------------------------------ +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Steps out of the function call.
                     */
                    post(method: "Debugger.stepOut", callback?: (err: Error | null) => void): void; // -------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Stops on the next JavaScript statement.
                     */
                    post(method: "Debugger.pause", callback?: (err: Error | null) => void): void; // --------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * This method is deprecated - use Debugger.stepInto with breakOnAsyncCall and Debugger.pauseOnAsyncTask instead. Steps into next scheduled async task if any is scheduled before next pause. Returns success when async task is actually scheduled, returns error if no task were scheduled or another scheduleStepIntoAsync was called.
                     * @experimental
                     */
                    post(method: "Debugger.scheduleStepIntoAsync", callback?: (err: Error | null) => void): void; // --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Resumes JavaScript execution.
                     */
                    post(method: "Debugger.resume", callback?: (err: Error | null) => void): void; // ---------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Returns stack trace with given <code>stackTraceId</code>.
                     * @experimental
                     */
                    post(method: "Debugger.getStackTrace", params?: Debugger.GetStackTraceParameterType, callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.getStackTrace", callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; // ----------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Searches for given string in script content.
                     */
                    post(method: "Debugger.searchInContent", params?: Debugger.SearchInContentParameterType, callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.searchInContent", callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; // ------------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Edits JavaScript source live.
                     */
                    post(method: "Debugger.setScriptSource", params?: Debugger.SetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.setScriptSource", callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; // ------------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Restarts particular call frame from the beginning.
                     */
                    post(method: "Debugger.restartFrame", params?: Debugger.RestartFrameParameterType, callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.restartFrame", callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; // ---------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Returns source for the script with given id.
                     */
                    post(method: "Debugger.getScriptSource", params?: Debugger.GetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.getScriptSource", callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; // ------------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * 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>.
                     */
                    post(method: "Debugger.setPauseOnExceptions", params?: Debugger.SetPauseOnExceptionsParameterType, callback?: (err: Error | null) => void): void; // ------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.setPauseOnExceptions", callback?: (err: Error | null) => void): void; // ------------------------------------------------------------ +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Evaluates expression on a given call frame.
                     */
                    post(method: "Debugger.evaluateOnCallFrame", params?: Debugger.EvaluateOnCallFrameParameterType, callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.evaluateOnCallFrame", callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; // ----------------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually.
                     */
                    post(method: "Debugger.setVariableValue", params?: Debugger.SetVariableValueParameterType, callback?: (err: Error | null) => void): void; // --------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.setVariableValue", callback?: (err: Error | null) => void): void; // -------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Changes return value in top frame. Available only at return break position.
                     * @experimental
                     */
                    post(method: "Debugger.setReturnValue", params?: Debugger.SetReturnValueParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.setReturnValue", callback?: (err: Error | null) => void): void; // ------------------------------------------------------ +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Enables or disables async call stacks tracking.
                     */
                    post(method: "Debugger.setAsyncCallStackDepth", params?: Debugger.SetAsyncCallStackDepthParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.setAsyncCallStackDepth", callback?: (err: Error | null) => void): void; // -------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
                     * @experimental
                     */
                    post(method: "Debugger.setBlackboxPatterns", params?: Debugger.SetBlackboxPatternsParameterType, callback?: (err: Error | null) => void): void; // ---------------------------------------------------------------------------------------------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.setBlackboxPatterns", callback?: (err: Error | null) => void): void; // ----------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted.
                     * @experimental
                     */
                    post(method: "Debugger.setBlackboxedRanges", params?: Debugger.SetBlackboxedRangesParameterType, callback?: (err: Error | null) => void): void; // ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Debugger.setBlackboxedRanges", callback?: (err: Error | null) => void): void; // ----------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Enables console domain, sends the messages collected so far to the client by means of the <code>messageAdded</code> notification.
                     */
                    post(method: "Console.enable", callback?: (err: Error | null) => void): void; // -------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Disables console domain, prevents further console messages from being reported to the client.
                     */
                    post(method: "Console.disable", callback?: (err: Error | null) => void): void; // ------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Does nothing.
                     */
                    post(method: "Console.clearMessages", callback?: (err: Error | null) => void): void; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    post(method: "Profiler.enable", callback?: (err: Error | null) => void): void; // ------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    post(method: "Profiler.disable", callback?: (err: Error | null) => void): void; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
                     */
                    post(method: "Profiler.setSamplingInterval", params?: Profiler.SetSamplingIntervalParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Profiler.setSamplingInterval", callback?: (err: Error | null) => void): void; // ----------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    post(method: "Profiler.start", callback?: (err: Error | null) => void): void; // --------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    post(method: "Profiler.stop", callback?: (err: Error | null, params: Profiler.StopReturnType) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters.
                     */
                    post(method: "Profiler.startPreciseCoverage", params?: Profiler.StartPreciseCoverageParameterType, callback?: (err: Error | null) => void): void; // ------------------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "Profiler.startPreciseCoverage", callback?: (err: Error | null) => void): void; // ------------------------------------------------------------ +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code.
                     */
                    post(method: "Profiler.stopPreciseCoverage", callback?: (err: Error | null) => void): void; // ----------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started.
                     */
                    post(method: "Profiler.takePreciseCoverage", callback?: (err: Error | null, params: Profiler.TakePreciseCoverageReturnType) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.
                     */
                    post(method: "Profiler.getBestEffortCoverage", callback?: (err: Error | null, params: Profiler.GetBestEffortCoverageReturnType) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Enable type profile.
                     * @experimental
                     */
                    post(method: "Profiler.startTypeProfile", callback?: (err: Error | null) => void): void; // -------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Disable type profile. Disabling releases type profile data collected so far.
                     * @experimental
                     */
                    post(method: "Profiler.stopTypeProfile", callback?: (err: Error | null) => void): void; // -------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Collect type profile.
                     * @experimental
                     */
                    post(method: "Profiler.takeTypeProfile", callback?: (err: Error | null, params: Profiler.TakeTypeProfileReturnType) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    post(method: "HeapProfiler.enable", callback?: (err: Error | null) => void): void; // -------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    post(method: "HeapProfiler.disable", callback?: (err: Error | null) => void): void; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    post(method: "HeapProfiler.startTrackingHeapObjects", params?: HeapProfiler.StartTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "HeapProfiler.startTrackingHeapObjects", callback?: (err: Error | null) => void): void; // -------------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    post(method: "HeapProfiler.stopTrackingHeapObjects", params?: HeapProfiler.StopTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "HeapProfiler.stopTrackingHeapObjects", callback?: (err: Error | null) => void): void; // ------------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    post(method: "HeapProfiler.takeHeapSnapshot", params?: HeapProfiler.TakeHeapSnapshotParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "HeapProfiler.takeHeapSnapshot", callback?: (err: Error | null) => void): void; // ------------------------------------------------------------ +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    post(method: "HeapProfiler.collectGarbage", callback?: (err: Error | null) => void): void; // --------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    post( // ---------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                        method: "HeapProfiler.getObjectByHeapObjectId", // ------------------------------------------------------ +0.2 Complexity index (+0.2 atomic)
                        params?: HeapProfiler.GetObjectByHeapObjectIdParameterType, // ------------------------------------------ +0.3 Complexity index (+0.3 atomic)
                        callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void // ------- +0.8 Complexity index (+0.8 atomic)
                    ): void; // ------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "HeapProfiler.getObjectByHeapObjectId", callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).
                     */
                    post(method: "HeapProfiler.addInspectedHeapObject", params?: HeapProfiler.AddInspectedHeapObjectParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "HeapProfiler.addInspectedHeapObject", callback?: (err: Error | null) => void): void; // ------------------------------------------------------------------ +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    post(method: "HeapProfiler.getHeapObjectId", params?: HeapProfiler.GetHeapObjectIdParameterType, callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "HeapProfiler.getHeapObjectId", callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; // ----------------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    post(method: "HeapProfiler.startSampling", params?: HeapProfiler.StartSamplingParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "HeapProfiler.startSampling", callback?: (err: Error | null) => void): void; // --------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    post(method: "HeapProfiler.stopSampling", callback?: (err: Error | null, params: HeapProfiler.StopSamplingReturnType) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    post(method: "HeapProfiler.getSamplingProfile", callback?: (err: Error | null, params: HeapProfiler.GetSamplingProfileReturnType) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Gets supported tracing categories.
                     */
                    post(method: "NodeTracing.getCategories", callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void; // ------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Start trace events collection.
                     */
                    post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void; // ------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "NodeTracing.start", callback?: (err: Error | null) => void): void; // ------------------------------------------------ +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Stop trace events collection. Remaining collected events will be sent as a sequence of
                     * dataCollected events followed by tracingComplete event.
                     */
                    post(method: "NodeTracing.stop", callback?: (err: Error | null) => void): void; // ----------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Sends protocol message over session with given id.
                     */
                    post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "NodeWorker.sendMessageToWorker", callback?: (err: Error | null) => void): void; // ------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Instructs the inspector to attach to running workers. Will also attach to new workers
                     * as they start
                     */
                    post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "NodeWorker.enable", callback?: (err: Error | null) => void): void; // ------------------------------------------------ +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Detaches from all running workers and disables attaching to new workers as they are started.
                     */
                    post(method: "NodeWorker.disable", callback?: (err: Error | null) => void): void; // --------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Detached from the worker with given sessionId.
                     */
                    post(method: "NodeWorker.detach", params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "NodeWorker.detach", callback?: (err: Error | null) => void): void; // ------------------------------------------------ +0.9 Complexity index (+0.9 atomic)
            
                            
                        
post Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Enable the `NodeRuntime.waitingForDisconnect`.
                     */
                    post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
post Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", callback?: (err: Error | null) => void): void; // ------------------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
            
                    // Events
            
                    addListener(event: string, listener: (...args: any[]) => void): this; // ------------------------------------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
addListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Emitted when any notification from the V8 Inspector is received.
                     */
                    addListener(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when new execution context is created.
                     */
                    addListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when execution context is destroyed.
                     */
                    addListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when all executionContexts were cleared in browser
                     */
                    addListener(event: "Runtime.executionContextsCleared", listener: () => void): this; // -------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when exception was thrown and unhandled.
                     */
                    addListener(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when unhandled exception was revoked.
                     */
                    addListener(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when console API was called.
                     */
                    addListener(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when object should be inspected (for example, as a result of inspect() command line API call).
                     */
                    addListener(event: "Runtime.inspectRequested", listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
                     */
                    addListener(event: "Debugger.scriptParsed", listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this; // ------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when virtual machine fails to parse the script.
                     */
                    addListener(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when breakpoint is resolved to an actual script and location.
                     */
                    addListener(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this; // --------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
                     */
                    addListener(event: "Debugger.paused", listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this; // ------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when the virtual machine resumed execution.
                     */
                    addListener(event: "Debugger.resumed", listener: () => void): this; // ------------------------------------------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when new console message is added.
                     */
                    addListener(event: "Console.messageAdded", listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Sent when new profile recording is started using console.profile() call.
                     */
                    addListener(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    addListener(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "HeapProfiler.resetProfiles", listener: () => void): this; // -------------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
                     */
                    addListener(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this; // -------------------------------------------------------------------------------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * If heap objects tracking has been started then backend may send update for one or more fragments
                     */
                    addListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this; // --------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Contains an bucket of collected trace events.
                     */
                    addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this; // ------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
                     * delivered via dataCollected events.
                     */
                    addListener(event: "NodeTracing.tracingComplete", listener: () => void): this; // --------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when attached to a worker.
                     */
                    addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when detached from the worker.
                     */
                    addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Notifies about a new protocol message received from the session
                     * (session ID is provided in attachedToWorker notification).
                     */
                    addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * This event is fired instead of `Runtime.executionContextDestroyed` when
                     * enabled.
                     * It is fired when the Node process finished all code execution and is
                     * waiting for all frontends to disconnect.
                     */
                    addListener(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this; // -------------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    emit(event: string | symbol, ...args: any[]): boolean; // ------------------------------------ +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "inspectorNotification", message: InspectorNotification<{}>): boolean; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "Runtime.executionContextCreated", message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "Runtime.executionContextDestroyed", message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "Runtime.executionContextsCleared"): boolean; // ---------------------------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "Runtime.exceptionThrown", message: InspectorNotification<Runtime.ExceptionThrownEventDataType>): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "Runtime.exceptionRevoked", message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "Runtime.consoleAPICalled", message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "Runtime.inspectRequested", message: InspectorNotification<Runtime.InspectRequestedEventDataType>): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "Debugger.scriptParsed", message: InspectorNotification<Debugger.ScriptParsedEventDataType>): boolean; // ------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "Debugger.scriptFailedToParse", message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "Debugger.breakpointResolved", message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>): boolean; // --------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "Debugger.paused", message: InspectorNotification<Debugger.PausedEventDataType>): boolean; // ------------------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "Debugger.resumed"): boolean; // -------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "Console.messageAdded", message: InspectorNotification<Console.MessageAddedEventDataType>): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "Profiler.consoleProfileStarted", message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "Profiler.consoleProfileFinished", message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "HeapProfiler.addHeapSnapshotChunk", message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "HeapProfiler.resetProfiles"): boolean; // ---------------------------------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "HeapProfiler.reportHeapSnapshotProgress", message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "HeapProfiler.lastSeenObjectId", message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>): boolean; // --------------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "HeapProfiler.heapStatsUpdate", message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>): boolean; // --------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "NodeTracing.dataCollected", message: InspectorNotification<NodeTracing.DataCollectedEventDataType>): boolean; // ------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "NodeTracing.tracingComplete"): boolean; // ----------------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "NodeWorker.attachedToWorker", message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "NodeWorker.detachedFromWorker", message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "NodeWorker.receivedMessageFromWorker", message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "NodeRuntime.waitingForDisconnect"): boolean; // ---------------------------------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
on Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
            
                    on(event: string, listener: (...args: any[]) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
on Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Emitted when any notification from the V8 Inspector is received.
                     */
                    on(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when new execution context is created.
                     */
                    on(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when execution context is destroyed.
                     */
                    on(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when all executionContexts were cleared in browser
                     */
                    on(event: "Runtime.executionContextsCleared", listener: () => void): this; // -------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when exception was thrown and unhandled.
                     */
                    on(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when unhandled exception was revoked.
                     */
                    on(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when console API was called.
                     */
                    on(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when object should be inspected (for example, as a result of inspect() command line API call).
                     */
                    on(event: "Runtime.inspectRequested", listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
                     */
                    on(event: "Debugger.scriptParsed", listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this; // ------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when virtual machine fails to parse the script.
                     */
                    on(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when breakpoint is resolved to an actual script and location.
                     */
                    on(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this; // --------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
                     */
                    on(event: "Debugger.paused", listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this; // ------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when the virtual machine resumed execution.
                     */
                    on(event: "Debugger.resumed", listener: () => void): this; // ------------------------------------------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when new console message is added.
                     */
                    on(event: "Console.messageAdded", listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Sent when new profile recording is started using console.profile() call.
                     */
                    on(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    on(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "HeapProfiler.resetProfiles", listener: () => void): this; // -------------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
                     */
                    on(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this; // ----------------------------------------------------------------------------------------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * If heap objects tracking has been started then backend may send update for one or more fragments
                     */
                    on(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this; // --------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Contains an bucket of collected trace events.
                     */
                    on(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this; // ------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
                     * delivered via dataCollected events.
                     */
                    on(event: "NodeTracing.tracingComplete", listener: () => void): this; // --------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when attached to a worker.
                     */
                    on(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when detached from the worker.
                     */
                    on(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Notifies about a new protocol message received from the session
                     * (session ID is provided in attachedToWorker notification).
                     */
                    on(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * This event is fired instead of `Runtime.executionContextDestroyed` when
                     * enabled.
                     * It is fired when the Node process finished all code execution and is
                     * waiting for all frontends to disconnect.
                     */
                    on(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this; // -------------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
            
                    once(event: string, listener: (...args: any[]) => void): this; // ------------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
once Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Emitted when any notification from the V8 Inspector is received.
                     */
                    once(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when new execution context is created.
                     */
                    once(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when execution context is destroyed.
                     */
                    once(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when all executionContexts were cleared in browser
                     */
                    once(event: "Runtime.executionContextsCleared", listener: () => void): this; // -------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when exception was thrown and unhandled.
                     */
                    once(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when unhandled exception was revoked.
                     */
                    once(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when console API was called.
                     */
                    once(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when object should be inspected (for example, as a result of inspect() command line API call).
                     */
                    once(event: "Runtime.inspectRequested", listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
                     */
                    once(event: "Debugger.scriptParsed", listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this; // ------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when virtual machine fails to parse the script.
                     */
                    once(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when breakpoint is resolved to an actual script and location.
                     */
                    once(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this; // --------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
                     */
                    once(event: "Debugger.paused", listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this; // ------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when the virtual machine resumed execution.
                     */
                    once(event: "Debugger.resumed", listener: () => void): this; // ------------------------------------------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when new console message is added.
                     */
                    once(event: "Console.messageAdded", listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Sent when new profile recording is started using console.profile() call.
                     */
                    once(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    once(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "HeapProfiler.resetProfiles", listener: () => void): this; // -------------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
                     */
                    once(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this; // --------------------------------------------------------------------------------------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * If heap objects tracking has been started then backend may send update for one or more fragments
                     */
                    once(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this; // --------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Contains an bucket of collected trace events.
                     */
                    once(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this; // ------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
                     * delivered via dataCollected events.
                     */
                    once(event: "NodeTracing.tracingComplete", listener: () => void): this; // --------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when attached to a worker.
                     */
                    once(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when detached from the worker.
                     */
                    once(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Notifies about a new protocol message received from the session
                     * (session ID is provided in attachedToWorker notification).
                     */
                    once(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * This event is fired instead of `Runtime.executionContextDestroyed` when
                     * enabled.
                     * It is fired when the Node process finished all code execution and is
                     * waiting for all frontends to disconnect.
                     */
                    once(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this; // -------------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
            
                    prependListener(event: string, listener: (...args: any[]) => void): this; // ---------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
prependListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Emitted when any notification from the V8 Inspector is received.
                     */
                    prependListener(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when new execution context is created.
                     */
                    prependListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when execution context is destroyed.
                     */
                    prependListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when all executionContexts were cleared in browser
                     */
                    prependListener(event: "Runtime.executionContextsCleared", listener: () => void): this; // -------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when exception was thrown and unhandled.
                     */
                    prependListener(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when unhandled exception was revoked.
                     */
                    prependListener(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when console API was called.
                     */
                    prependListener(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when object should be inspected (for example, as a result of inspect() command line API call).
                     */
                    prependListener(event: "Runtime.inspectRequested", listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
                     */
                    prependListener(event: "Debugger.scriptParsed", listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this; // ------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when virtual machine fails to parse the script.
                     */
                    prependListener(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when breakpoint is resolved to an actual script and location.
                     */
                    prependListener(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this; // --------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
                     */
                    prependListener(event: "Debugger.paused", listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this; // ------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when the virtual machine resumed execution.
                     */
                    prependListener(event: "Debugger.resumed", listener: () => void): this; // ------------------------------------------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when new console message is added.
                     */
                    prependListener(event: "Console.messageAdded", listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Sent when new profile recording is started using console.profile() call.
                     */
                    prependListener(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    prependListener(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "HeapProfiler.resetProfiles", listener: () => void): this; // -------------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
                     */
                    prependListener(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this; // ---------------------------------------------------------------------------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * If heap objects tracking has been started then backend may send update for one or more fragments
                     */
                    prependListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this; // --------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Contains an bucket of collected trace events.
                     */
                    prependListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this; // ------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
                     * delivered via dataCollected events.
                     */
                    prependListener(event: "NodeTracing.tracingComplete", listener: () => void): this; // --------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when attached to a worker.
                     */
                    prependListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when detached from the worker.
                     */
                    prependListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Notifies about a new protocol message received from the session
                     * (session ID is provided in attachedToWorker notification).
                     */
                    prependListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * This event is fired instead of `Runtime.executionContextDestroyed` when
                     * enabled.
                     * It is fired when the Node process finished all code execution and is
                     * waiting for all frontends to disconnect.
                     */
                    prependListener(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this; // -------------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
            
                    prependOnceListener(event: string, listener: (...args: any[]) => void): this; // ----------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Emitted when any notification from the V8 Inspector is received.
                     */
                    prependOnceListener(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when new execution context is created.
                     */
                    prependOnceListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when execution context is destroyed.
                     */
                    prependOnceListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when all executionContexts were cleared in browser
                     */
                    prependOnceListener(event: "Runtime.executionContextsCleared", listener: () => void): this; // -------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when exception was thrown and unhandled.
                     */
                    prependOnceListener(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when unhandled exception was revoked.
                     */
                    prependOnceListener(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when console API was called.
                     */
                    prependOnceListener(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when object should be inspected (for example, as a result of inspect() command line API call).
                     */
                    prependOnceListener(event: "Runtime.inspectRequested", listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
                     */
                    prependOnceListener(event: "Debugger.scriptParsed", listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this; // ------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when virtual machine fails to parse the script.
                     */
                    prependOnceListener(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when breakpoint is resolved to an actual script and location.
                     */
                    prependOnceListener(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this; // --------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
                     */
                    prependOnceListener(event: "Debugger.paused", listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this; // ------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Fired when the virtual machine resumed execution.
                     */
                    prependOnceListener(event: "Debugger.resumed", listener: () => void): this; // ------------------------------------------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when new console message is added.
                     */
                    prependOnceListener(event: "Console.messageAdded", listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Sent when new profile recording is started using console.profile() call.
                     */
                    prependOnceListener(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    prependOnceListener(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "HeapProfiler.resetProfiles", listener: () => void): this; // -------------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
                     */
                    prependOnceListener(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this; // ------------------------------------------------------------------------------------------------------------------------------ +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * If heap objects tracking has been started then backend may send update for one or more fragments
                     */
                    prependOnceListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this; // --------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Contains an bucket of collected trace events.
                     */
                    prependOnceListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this; // ------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
                     * delivered via dataCollected events.
                     */
                    prependOnceListener(event: "NodeTracing.tracingComplete", listener: () => void): this; // --------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when attached to a worker.
                     */
                    prependOnceListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Issued when detached from the worker.
                     */
                    prependOnceListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Notifies about a new protocol message received from the session
                     * (session ID is provided in attachedToWorker notification).
                     */
                    prependOnceListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * This event is fired instead of `Runtime.executionContextDestroyed` when
                     * enabled.
                     * It is fired when the Node process finished all code execution and is
                     * waiting for all frontends to disconnect.
                     */
                    prependOnceListener(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this; // -------------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
open Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                // Top Level API
            
                /**
                 * Activate inspector on host and port. Equivalent to node --inspect=[[host:]port], but can be done programatically after node has started.
                 * If wait is true, will block until a client has connected to the inspect port and flow control has been passed to the debugger client.
                 * @param port Port to listen on for inspector connections. Optional, defaults to what was specified on the CLI.
                 * @param host Host to listen on for inspector connections. Optional, defaults to what was specified on the CLI.
                 * @param wait Block until a client has connected. Optional, defaults to false.
                 */
                function open(port?: number, host?: string, wait?: boolean): void; // -------------------------------------------------------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
close Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Deactivate the inspector. Blocks until there are no active connections.
                 */
                function close(): void; // ---------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
url Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Return the URL of the active inspector, or `undefined` if there is none.
                 */
                function url(): string | undefined; // ----------------------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
waitForDebugger Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Blocks until a client (existing or connected later) has sent
                 * `Runtime.runIfWaitingForDebugger` command.
                 * An exception will be thrown if there is no active inspector.
                 */
                function waitForDebugger(): void; // ------------------------------------- +0.2 Complexity index (+0.2 atomic)