forked from satoren/vscode-lrdb
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
177 lines (177 loc) · 4.3 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
{
"name": "lrdb",
"displayName": "LRDB",
"description": "Lua Remote DeBugger",
"version": "0.3.4",
"publisher": "satoren",
"engines": {
"vscode": "^1.17.0",
"node": "^7.4.0"
},
"categories": [
"Debuggers"
],
"dependencies": {
"vscode-debugadapter": "1.24.0",
"vscode-nls": "2.0.2"
},
"activationEvents": [
"onDebug"
],
"repository": {
"type": "git",
"url": "https://github.com/satoren/vscode-lrdb.git"
},
"bugs": {
"url": "https://github.com/satoren/vscode-lrdb/issues"
},
"main": "./out/src/extension.js",
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/mocha/bin/mocha -u tdd ./out/test/"
},
"devDependencies": {
"typescript": "2.5.2",
"vscode": "1.1.10",
"vscode-nls-dev": "2.1.5",
"vscode-debugadapter-testsupport": "^1.24.0",
"vscode-debugprotocol": "1.24.0",
"mocha": "3.5.0",
"@types/mocha": "2.2.42",
"@types/node": "6.0.52",
"vsce": "1.32.0"
},
"icon": "images/icon.png",
"license": "BSL-1.0",
"contributes": {
"breakpoints": [
{
"language": "lua"
}
],
"debuggers": [
{
"type": "lrdb",
"label": "Lua Debug",
"program": "./out/src/debugAdapter.js",
"runtime": "node",
"languages": [
"lua"
],
"variables": {},
"configurationSnippets": [
{
"label": "Lua: (lrdb) Launch",
"description": "A new configuration for launching a lua program",
"body": {
"type": "lrdb",
"request": "launch",
"name": "${2:Launch Program}",
"program": "Lua program file or Lua host executable.",
"args": [],
"cwd": "${workspaceFolder}"
}
},
{
"label": "Lua: (lrdb) Attach",
"description": "A new configuration for attaching a LRDB embeded program",
"body": {
"type": "lrdb",
"request": "attach",
"name": "${1:Attach}",
"host": "localhost",
"port": 21110,
"sourceRoot": "${workspaceFolder}"
}
}
],
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Lua program file or Lua host program with embedded LRDB.",
"default": "${file}"
},
"cwd": {
"type": "string",
"description": "working directory.",
"default": "${workspaceFolder}"
},
"args": {
"type": "array",
"description": "Command line arguments.",
"default": []
},
"useInternalLua": {
"type": [
"boolean",
"null"
],
"description": "If true use internal(in this Extension) Lua interpreter, false direct execute `program`",
"default": null
},
"sourceRoot": {
"type": "string",
"description": "script source root directory.",
"default": "${workspaceFolder}"
},
"sourceFileMap": {
"type": "object",
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"/original/source/path\":\"/current/source/path\" }'",
"default": {
"<source-path>": "<target-path>"
}
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": true
}
}
},
"attach": {
"required": [
"host",
"port"
],
"properties": {
"host": {
"type": "string",
"description": "host name.",
"default": "localhost"
},
"port": {
"type": "number",
"description": "port",
"default": 21110
},
"sourceRoot": {
"type": "string",
"description": "script source root directory.",
"default": "${workspaceFolder}"
},
"sourceFileMap": {
"type": "object",
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"/original/source/path\":\"/current/source/path\" }'",
"default": {
"<source-path>": "<target-path>"
}
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": true
}
}
}
}
}
]
}
}