forked from microsoft/vscode-node-debug
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
196 lines (196 loc) · 5.67 KB
/
Copy pathpackage.json
File metadata and controls
196 lines (196 loc) · 5.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
"name": "node-debug",
"version": "0.10.1",
"publisher": "isidor",
"description": "Visual Studio Code debug adapter for node.js",
"author": {
"name": "Microsoft Corporation"
},
"private": true,
"engines": {
"node": ">= 0.12.0",
"vscode": "^0.10.1"
},
"dependencies": {
"source-map": "*"
},
"repository": {
"type": "git",
"url": "https://monacotools.visualstudio.com/DefaultCollection/Monaco/_git/vscode-node-debug"
},
"devDependencies": {
"gulp": "^3.9.0",
"gulp-util": "^3.0.5",
"gulp-tsb": "git://github.com/jrieken/gulp-tsb.git#bbf53f1d4b503b9080f8c300208b3ffa829a12c7",
"gulp-azure-storage": "*",
"git-rev-sync": "*",
"del": "*",
"run-sequence": "*",
"gulp-vinyl-zip": "*"
},
"contributes": {
"debuggers": [
{
"type": "node",
"label": "Node.js",
"enableBreakpointsFor": { "languageIds": ["javascript"] },
"program": "./out/node/nodeDebug.js",
"runtime": "node",
"initialConfigurations": [
{
"name": "Launch",
"type": "node",
"request": "launch",
"program": "app.js",
"stopOnEntry": false,
"args": [],
"cwd": ".",
"runtimeExecutable": null,
"runtimeArgs": ["--nolazy"],
"env": {
"NODE_ENV": "development"
},
"externalConsole": false,
"sourceMaps": false,
"outDir": null
},
{
"name": "Attach",
"type": "node",
"request": "attach",
"port": 5858
}
],
"configurationAttributes": {
"launch": {
"required": ["program"],
"properties": {
"program": {
"type": "string",
"description": "Workspace relative path to the program."
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop program after launch.",
"default": true
},
"externalConsole": {
"type": "boolean",
"description": "Launch debug target in external console.",
"default": true
},
"args": {
"type": "array",
"description": "Command line arguments passed to the program.",
"items": { "type": "string" },
"default": []
},
"cwd": {
"type": "string",
"description": "Workspace relative or absolute path to the working directory of the program being debugged. Default is the current workspace.",
"default": "."
},
"runtimeExecutable": {
"type": ["string", "null"],
"description": "Workspace relative or absolute path to the runtime executable to be used. Default is the runtime executable on the PATH.",
"default": null
},
"runtimeArgs": {
"type": "array",
"description": "Optional arguments passed to the runtime executable.",
"items": { "type": "string" },
"default": []
},
"env": {
"type": "object",
"description": "Environment variables passed to the program.",
"default": {}
},
"sourceMaps": {
"type": "boolean",
"description": "Use JavaScript source maps (if they exist).",
"default": true
},
"outDir": {
"type": ["string", "null"],
"description": "If source maps are enabled, the generated code is expected in this directory. If not specified, the generated code is expected in the same directory as its source.",
"default": null
}
}
},
"attach": {
"required": ["port"],
"properties": {
"port": {
"type": "number",
"description": "Port to attach to.",
"default": "undefined"
},
"sourceMaps": {
"type": "boolean",
"description": "Use JavaScript source maps (if they exist).",
"default": true
},
"outDir": {
"type": ["string", "null"],
"description": "If source maps are enabled, the generated code is expected in this directory. If not specified, the generated code is expected in the same directory as its source.",
"default": null
}
}
}
}
},
{
"type": "extensionHost",
"label": "Extension Development",
"enableBreakpointsFor": { "languageIds": ["javascript"] },
"program": "./out/node/nodeDebug.js",
"runtime": "node",
"initialConfigurations": [{
"name": "Launch Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [ "--extensionDevelopmentPath=${workspaceRoot}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outDir": "out",
"preLaunchTask": "npm"
}],
"configurationAttributes": {
"launch": {
"required": ["runtimeExecutable", "args"],
"properties": {
"runtimeExecutable": {
"type": ["string", "null"],
"description": "Absolute path to VS Code.",
"default": "${execPath}"
},
"args": {
"type": "array",
"description": "Command line arguments passed to VS Code.",
"items": { "type": "string" },
"default": [ "--extensionDevelopmentPath=${workspaceRoot}" ]
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop the extension host after launch.",
"default": true
},
"sourceMaps": {
"type": "boolean",
"description": "Use JavaScript source maps.",
"default": true
},
"outDir": {
"type": ["string", "null"],
"description": "If source maps are enabled, the generated code is expected in this directory. If not specified, the generated code is expected in the same directory as its source.",
"default": "out"
}
}
}
}
}
]
}
}