-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
216 lines (216 loc) · 8.22 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
{
"name": "duk-debug",
"displayName": "Duktape Debugger",
"version": "0.5.6",
"description": "Debug Adapter for Duktape runtimes.",
"author": "Harold Brenes",
"publisher": "HaroldBrenes",
"license": "MIT (See LICENSE.txt)",
"icon": "img/icon.png",
"maintainers": [
"Harold Brenes <[email protected]> (http://hbrenes.com/cv)",
"Andrew Chambers <[email protected]>"
],
"categories": [
"Debuggers"
],
"keywords": [
"duktape",
"debugger",
"js",
"javascript",
"typescript"
],
"engines": {
"vscode": "^1.30.0",
"node": "^6.3.0"
},
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/harold-b/vscode-duktape-debug"
},
"bugs": {
"url": "https://github.com/harold-b/vscode-duktape-debug/issues"
},
"files": [
"out/**",
"CHANGELOG.md",
"VERSION"
],
"dependencies": {
"acorn": "^6.1.1",
"bluebird": "^3.5.3",
"source-map": "^0.7.3",
"vscode-debugadapter": "^1.33.0",
"vscode-debugprotocol": "^1.33.0"
},
"devDependencies": {
"@types/bluebird": "^3.5.27",
"@types/es6-promise": "^3.3.0",
"@types/node": "^10.14.20",
"copy-webpack-plugin": "^5.0.5",
"del": "^2.2.2",
"fs-extra": "^2.1.2",
"prettier": "^1.17.1",
"run-sequence": "^1.2.2",
"through2": "^2.0.3",
"ts-loader": "^5.4.5",
"tslint": "^5.20.0",
"typescript": "^3.6.3",
"uglify-js": "^2.8.14",
"vscode": "^1.1.36",
"webpack": "^4.41.0",
"webpack-cli": "^3.3.9"
},
"scripts": {
"tslint": "tslint ./src/**/*.ts",
"postinstall": "node ./node_modules/vscode/bin/install",
"vscode:prepublish": "webpack --mode production",
"compile": "webpack --mode development",
"watch": "webpack --mode development --watch",
"format": "prettier --write \"**/*.{ts,tsx,js}\"",
"check-format": "prettier --list-different \"**/*.{ts,tsx,js}\""
},
"main": "./dist/extension",
"activationEvents": [
"onDebug"
],
"contributes": {
"breakpoints": [
{
"language": "javascript"
},
{
"language": "typescript"
},
{
"language": "haxe"
}
],
"debuggers": [
{
"type": "duk",
"label": "Duktape JS",
"program": "./dist/extension",
"runtime": "node",
"enableBreakpointsFor": {
"languageIds": [
"javascript",
"typescript",
"haxe"
]
},
"configurationAttributes": {
"attach": {
"properties": {
"port": {
"type": "number",
"description": "Debug port to attach to. Default is 9091.",
"default": 9091
},
"address": {
"type": "string",
"description": "TCP/IP address on which the debug server is listening. Default is 'localhost'.",
"default": "localhost"
},
"timeout": {
"type": "number",
"description": "Retry for this number of milliseconds to connect to the debug server. Default is 10000 ms.",
"default": 10000
},
"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
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop program after launch.",
"default": true
},
"localRoot": {
"type": [
"string",
"null"
],
"description": "The local source root that corresponds to the remote root path.",
"default": null
},
"localRoots": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"description": "The local source root paths that correspond to the remote root paths.",
"default": null
},
"dukRemoteRoot": {
"type": "string",
"description": "Optional prefix for filenames in the remote environment.",
"default": null
},
"debugLog": {
"type": "boolean",
"description": "Log to console client-server network traffic and other debug messages. This is an internal development feature but allowed in release mode for the curious.",
"default": false
},
"artificial": {
"type": "boolean",
"description": "Do show '__artificial' property while inspecting object or not.",
"default": true
}
}
}
},
"initialConfigurations": [
{
"name": "Attach (duk)",
"type": "duk",
"request": "attach",
"address": "localhost",
"port": 9091,
"localRoots": [
"${workspaceRoot}"
],
"sourceMaps": false,
"outDir": null,
"stopOnEntry": false,
"debugLog": false
}
],
"configurationSnippets": [
{
"label": "Duktape: Attach",
"description": "Attach to a running duktape process.",
"body": {
"name": "Attach (duk)",
"type": "duk",
"request": "attach",
"address": "localhost",
"port": 9091,
"localRoots": [
"^\"\\${workspaceRoot}\""
],
"sourceMaps": false,
"outDir": null,
"stopOnEntry": false,
"debugLog": false
}
}
]
}
]
}
}