-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathINSDebugConnection.ts
29 lines (16 loc) · 1.37 KB
/
INSDebugConnection.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
export interface INSDebugConnection {
on(eventName: string, handler: (msg: any) => void): void;
close(): void;
debugger_setBreakpointByUrl(url: string, lineNumber: number, columnNumber: number, condition: string, ignoreCount: number): Promise<WebKitProtocol.Debugger.SetBreakpointByUrlResponse>
debugger_removeBreakpoint(breakpointId: string): Promise<WebKitProtocol.Response>
debugger_stepOver(): Promise<WebKitProtocol.Response>;
debugger_stepIn(): Promise<WebKitProtocol.Response>;
debugger_stepOut(): Promise<WebKitProtocol.Response>;
debugger_resume(): Promise<WebKitProtocol.Response>;
debugger_pause(): Promise<WebKitProtocol.Response>;
debugger_evaluateOnCallFrame(callFrameId: string, expression: string, objectGroup?, returnByValue?: boolean): Promise<WebKitProtocol.Debugger.EvaluateOnCallFrameResponse>;
debugger_setPauseOnExceptions(state: string): Promise<WebKitProtocol.Response>;
debugger_getScriptSource(scriptId: WebKitProtocol.Debugger.ScriptId): Promise<WebKitProtocol.Debugger.GetScriptSourceResponse>;
runtime_getProperties(objectId: string, ownProperties: boolean, accessorPropertiesOnly: boolean): Promise<WebKitProtocol.Runtime.GetPropertiesResponse>;
runtime_evaluate(expression: string, objectGroup?: any, contextId?: number, returnByValue?: boolean): Promise<WebKitProtocol.Runtime.EvaluateResponse>;
}