microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
4b124a08cf4726fc4b6b1f843dcd24e31f33db5e

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/debugger/nodeDebugAdapter.d.ts

52lines · 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 public _sourceToGeneratedMaps: {};
29 public _generatedToSourceMaps: {};
30 public _allSourceMaps: {};
31}
32
33declare class NodeDebugSession extends VSCodeDebugAdapter.DebugSession {
34 public _sourceMaps: SourceMaps;
35}
36
37interface ILaunchRequestArgs {
38 platform: string;
39 target?: string;
40 internalDebuggerPort?: any;
41 iosRelativeProjectPath?: string;
42 args: string[];
43 logCatArguments: any;
44 program: string;
45}
46
47interface IAttachRequestArgs {
48 internalDebuggerPort?: any;
49 args: string[];
50 program: string;
51 platform: string;
52}