microsoft/vscode-react-native

Public

mirrored from https://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
18d7d68f72d1291e3cdd73f28f16abbd119339d1

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/debugger/nodeDebugAdapter.d.ts

50lines · modeblame

40e4b177Patricio Beltran10 years ago1// 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 {
8class DebugSession {
9public static run: Function;
10public sendEvent(event: VSCodeDebugAdapter.InitializedEvent): void;
11public start(input: any, output: any): void;
12public launchRequest(response: any, args: any): void;
13public attachRequest(response: any, args: any): void;
14public disconnectRequest(response: any, args: any): void;
15}
16class InitializedEvent {
17constructor();
18}
19class OutputEvent {
20constructor(message: string, destination?: string);
21}
22class TerminatedEvent {
23constructor();
24}
25}
26
27declare class SourceMaps {
774cffd7Vladimir Kotikov9 years ago28constructor(session: NodeDebugSession, generatedCodeDirectory: string, generatedCodeGlobs: string[]);
40e4b177Patricio Beltran10 years ago29}
30
31declare class NodeDebugSession extends VSCodeDebugAdapter.DebugSession {
32public _sourceMaps: SourceMaps;
33}
34
35interface ILaunchRequestArgs {
36platform: string;
37target?: string;
38internalDebuggerPort?: any;
39iosRelativeProjectPath?: string;
40args: string[];
41logCatArguments: any;
42program: string;
43}
44
45interface IAttachRequestArgs {
299b0557Patricio Beltran10 years ago46internalDebuggerPort?: any;
40e4b177Patricio Beltran10 years ago47args: string[];
299b0557Patricio Beltran10 years ago48program: string;
49platform: string;
774cffd7Vladimir Kotikov9 years ago50}