UNPKG

vscode-chrome-debug-core

Version:

A library for building VS Code debug adapters for targets that support the Chrome Remote Debug Protocol

18 lines (17 loc) 887 B
import { DebugProtocol } from 'vscode-debugprotocol'; import { ISetBreakpointsArgs, ILaunchRequestArgs, IAttachRequestArgs, IStackTraceResponseBody } from '../debugAdapterInterfaces'; /** * Converts a local path from Code to a path on the target. */ export declare class BasePathTransformer { launch(args: ILaunchRequestArgs): Promise<void>; attach(args: IAttachRequestArgs): Promise<void>; setBreakpoints(args: ISetBreakpointsArgs): ISetBreakpointsArgs; clearTargetContext(): void; scriptParsed(scriptPath: string): Promise<string>; breakpointResolved(bp: DebugProtocol.Breakpoint, targetPath: string): string; stackTraceResponse(response: IStackTraceResponseBody): void; fixSource(source: DebugProtocol.Source): Promise<void>; getTargetPathFromClientPath(clientPath: string): string; getClientPathFromTargetPath(targetPath: string): string; }