Wirebrowser Automation Script API Referece
    Preparing search index...

    Interface DebuggerAPI

    interface DebuggerAPI {
        stepInto(pageId: string | number): Promise<void>;
        stepIntoAsync(pageId: string | number): Promise<void>;
        stepOut(pageId: string | number): Promise<void>;
        stepOver(pageId: string | number): Promise<void>;
    }
    Index

    Methods

    • Steps into the next function call.

      If the current line contains a function invocation, execution will pause at the first statement inside that function.

      Parameters

      • pageId: string | number

      Returns Promise<void>

    • Steps into the next asynchronous continuation.

      This is equivalent to CDP Debugger.stepInto({ breakOnAsyncCall: true }). If the current execution schedules an async continuation (e.g. via await, Promise resolution, or microtasks), the debugger will pause when that continuation is invoked.

      Parameters

      • pageId: string | number

      Returns Promise<void>

    • Steps out of the current function.

      Continues execution until the current function returns, then pauses at the caller frame.

      Parameters

      • pageId: string | number

      Returns Promise<void>

    • Steps over the current line.

      Executes the current statement completely and pauses at the next statement in the same frame.

      If the line contains function calls, they are executed without pausing inside them.

      Parameters

      • pageId: string | number

      Returns Promise<void>