-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
218 lines (218 loc) · 5.07 KB
/
package.json
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
{
"name": "haxe-hl",
"displayName": "HashLink Debugger",
"version": "1.4.23",
"publisher": "HaxeFoundation",
"license": "MIT",
"description": "Debugger for Haxe/HashLink applications",
"repository": {
"url": "https://github.com/vshaxe/hashlink-debugger",
"type": "git"
},
"bugs": {
"url": "https://github.com/vshaxe/hashlink-debugger/issues"
},
"author": {
"name": "ncannasse"
},
"engines": {
"vscode": "^1.56.0",
"nadako.vshaxe": "^2.19.1"
},
"extensionDependencies": [
"nadako.vshaxe"
],
"icon": "icon.png",
"categories": [
"Debuggers"
],
"galleryBanner": {
"theme": "dark",
"color": "#5d338f"
},
"keywords": [
"haxe",
"hashlink"
],
"dependencies": {
"hldebug": "file:hldebug-wrapper",
"node-addon-api": "1.7.2",
"node-gyp": "^8.4.1",
"source-map-support": "^0.5.21",
"vscode-debugadapter": "^1.51.0",
"vscode-debugprotocol": "^1.51.0"
},
"devDependencies": {},
"scripts": {},
"main": "extension.js",
"activationEvents": [
"onDebugResolve:hl"
],
"contributes": {
"configuration": {
"title": "HashLink Debugger",
"properties": {
"hldebug.verbose": {
"markdownDescription": "Show verbose debugger trace.",
"type": "boolean",
"default": false
},
"hldebug.defaultPort": {
"markdownDescription": "Default debug port used to connect with HL virtual machine, when port is not specified in launch.json.",
"type": "integer",
"default": 6112
},
"hldebug.connectionTimeout": {
"markdownDescription": "Default connection timeout in second, when connecting the debugger to HL virtual machine.",
"type": "number",
"default": 2
}
}
},
"debuggers": [
{
"type": "hl",
"label": "HashLink",
"program": "./adapter.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"required": [
"cwd"
],
"properties": {
"request": {
"type": "string",
"description": "launch",
"default": "launch"
},
"cwd": {
"type": "string",
"description": "Working directory",
"default": "${workspaceFolder}"
},
"hl": {
"type": "string",
"markdownDescription": "Path to the `hl` executable.",
"default": "hl"
},
"env": {
"type": "object",
"markdownDescription": "The environment with which to start the `hl` executable."
},
"program": {
"type": "string",
"markdownDescription": "Path to the `.hl` file"
},
"args": {
"description": "Program arguments.",
"type": "array",
"default": [],
"items": {
"type": "string"
}
},
"argsFile": {
"description": "File from which to read program arguments.",
"type": "string"
},
"port": {
"type": "number",
"description": "Debug port used to connect to HL virtual machine."
},
"hotReload": {
"description": "Enable HL code hot reload on compilation - EXPERIMENTAL.",
"type": "boolean"
},
"profileSamples": {
"type": "number",
"description": "Start profiling with the specified number of samples per second."
}
}
},
"attach": {
"required": [
"port",
"cwd"
],
"properties": {
"request": {
"type": "string",
"description": "attach",
"default": "attach"
},
"cwd": {
"type": "string",
"description": "Working directory",
"default": "${workspaceFolder}"
},
"port": {
"type": "number",
"decscription": "Port to connect to.",
"default": 6112
}
}
}
},
"initialConfigurations": [
{
"name": "HashLink (launch)",
"request": "launch",
"type": "hl",
"cwd": "${workspaceFolder}",
"preLaunchTask": {
"type": "haxe",
"args": "active configuration"
}
}
],
"configurationSnippets": [
{
"label": "HashLink: Launch",
"description": "A new configuration for launch and debug.",
"body": {
"name": "${1:HashLink (launch)}",
"request": "launch",
"type": "hl",
"cwd": "^\"\\${workspaceFolder}\"",
"preLaunchTask": {
"type": "haxe",
"args": "active configuration"
}
}
},
{
"label": "HashLink: Attach",
"description": "A new configuration for attaching to a running program.",
"body": {
"name": "${1:HashLink (attach)}",
"request": "attach",
"type": "hl",
"cwd": "^\"\\${workspaceFolder}\"",
"port": 6112
}
}
]
}
],
"menus": {
"debug/variables/context": [
{
"command": "hldebug.var.formatInt",
"when": "debugType == 'hl'"
}
]
},
"commands": [
{
"command": "hldebug.var.formatInt",
"title": "View as Hex & Bin"
}
]
},
"__metadata": {
"id": "1cc8d5ef-027a-447d-8a30-0ec3f0fe30d3",
"publisherDisplayName": "Haxe Foundation",
"publisherId": "61407f1c-eaa6-4653-b105-144f7a312894"
}
}