UNPKG

@vscode/js-debug-browsers

Version:

Browser launch and discovery logic used in VS Code's JavaScript Debugger

14 lines (13 loc) 502 B
/// <reference types="node" /> import { IBrowserFinder, IExecutable } from './index'; import { promises as fsPromises } from 'fs'; /** * Finds the Chrome browser on Windows. */ export declare class WindowsEdgeBrowserFinder implements IBrowserFinder { private readonly env; private readonly fs; constructor(env?: NodeJS.ProcessEnv, fs?: typeof fsPromises); findWhere(predicate: (exe: IExecutable) => boolean): Promise<IExecutable | undefined>; findAll(): Promise<IExecutable[]>; }