microsoft/vscode-react-native

Public

mirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
70f7cae4a697f9868d22dfdd08089a2cd2076772

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/debugger/nodeDebugAdapter.d.ts

50lines · modecode

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT license. See LICENSE file in the project root for details.
3
4// These typings do not reflect the typings as intended to be used
5// but rather as they exist in truth, so we can reach into the internals
6// and access what we need.
7declare module VSCodeDebugAdapter {
8 class DebugSession {
9 public static run: Function;
10 public sendEvent(event: VSCodeDebugAdapter.InitializedEvent): void;
11 public start(input: any, output: any): void;
12 public launchRequest(response: any, args: any): void;
13 public attachRequest(response: any, args: any): void;
14 public disconnectRequest(response: any, args: any): void;
15 }
16 class InitializedEvent {
17 constructor();
18 }
19 class OutputEvent {
20 constructor(message: string, destination?: string);
21 }
22 class TerminatedEvent {
23 constructor();
24 }
25}
26
27declare class SourceMaps {
28 constructor(session: NodeDebugSession, generatedCodeDirectory: string, generatedCodeGlobs: string[]);
29}
30
31declare class NodeDebugSession extends VSCodeDebugAdapter.DebugSession {
32 public _sourceMaps: SourceMaps;
33}
34
35interface ILaunchRequestArgs {
36 platform: string;
37 target?: string;
38 internalDebuggerPort?: any;
39 iosRelativeProjectPath?: string;
40 args: string[];
41 logCatArguments: any;
42 program: string;
43}
44
45interface IAttachRequestArgs {
46 internalDebuggerPort?: any;
47 args: string[];
48 program: string;
49 platform: string;
50}
51