forked from microsoft/vscode-mock-debug
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
182 lines (181 loc) · 5.13 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
{
"name": "imart-debug",
"displayName": "Imart Debug",
"version": "0.0.7",
"publisher": "chunlinyao",
"description": "Intra-mart debugger for VS Code.",
"author": {
"name": "Yao Chunlin",
"url": "https://github.com/chunlinyao/vscode-imart-debug.git",
"email": "[email protected]"
},
"license": "MIT",
"keywords": [
"multi-root ready"
],
"engines": {
"vscode": "^1.59.0"
},
"icon": "images/imart-debug-icon.jpg",
"categories": [
"Debuggers"
],
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/chunlinyao/vscode-imart-debug.git"
},
"bugs": {
"url": "https://github.com/chunlinyao/vscode-imart-debug/issues"
},
"scripts": {
"vscode:prepublish": "yarn run package-ext",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "webpack --watch --devtool nosources-source-map --info-verbosity verbose --config ./build/extension.webpack.config.js",
"watch2": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"test": "node ./out/test/runTest.js",
"package": "vsce package",
"publish": "vsce publish",
"package-ext": "webpack --mode production --config ./build/extension.webpack.config.js"
},
"dependencies": {
"await-notify": "1.0.1",
"vscode-debugadapter": "^1.49.0"
},
"devDependencies": {
"@types/vscode": "^1.59.0",
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "^14.14.37",
"eslint": "^7.32.0",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"glob": "^7.1.7",
"mocha": "^9.1.0",
"typescript": "^4.3.5",
"vscode-debugadapter-testsupport": "^1.49.0",
"vsce": "^1.96.1",
"ts-loader": "^8.1.0",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12"
},
"main": "./dist/ext/extension.js",
"activationEvents": [
"onDebugResolve:imart",
"onDebugDynamicConfigurations:imart",
"onCommand:extension.imart-debug.getProgramName",
"onCommand:extension.imart-debug.runEditorContents",
"onCommand:extension.imart-debug.debugEditorContents"
],
"workspaceTrust": {
"request": "never"
},
"contributes": {
"menus": {
"editor/title/run": [
{
"command": "extension.imart-debug.debugEditorContents",
"when": "resourceLangId == javascript"
}
],
"commandPalette": [
{
"command": "extension.imart-debug.debugEditorContents",
"when": "resourceLangId == javascript"
}
]
},
"commands": [
{
"command": "extension.imart-debug.debugEditorContents",
"title": "Debug File",
"category": "Imart Debug",
"enablement": "!inDebugMode",
"icon": "$(debug-alt)"
},
{
"command": "extension.imart-debug.runEditorContents",
"title": "Run File",
"category": "Imart Debug",
"enablement": "!inDebugMode",
"icon": "$(play)"
}
],
"breakpoints": [
{
"language": "javascript"
}
],
"debuggers": [
{
"type": "imart",
"languages": ["javascript"],
"label": "Imart Debug",
"program": "./out/debugAdapter.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"properties": {
"trace": {
"type": "boolean",
"description": "Enable logging of the Debug Adapter Protocol.",
"default": false
},
"localRoot": {
"type": "string",
"description": "local debug root",
"default": "${workspaceFolder}/src/main/jssp",
"require": true
},
"hack": {
"type": "boolean",
"description": "Let Imart keep previouse step when loaded script. imart bugfix hack",
"default": false
},
"compileError": {
"type": "string",
"description": "Simulates a compile error in 'launch' request.",
"enum": [
"default",
"show",
"hide"
],
"enumDescriptions": [
"default: show fake compile error to user",
"show fake compile error to user",
"do not show fake compile error to user"
]
}
}
}
},
"initialConfigurations": [
{
"type": "imart",
"request": "attach",
"port": 9000,
"localRoot": "${workspaceFolder}/src/main/jssp",
"name": "Debug Imart",
"hack": false
}
],
"configurationSnippets": [
{
"label": "Imart Debug: Launch",
"description": "A new configuration for 'debugging' intramart",
"body": {
"type": "imart",
"request": "attach",
"name": "Debug Imart",
"port": 9000,
"localRoot": "${workspaceFolder}/src/main/jssp",
"hack": false
}
}
]
}
]
}
}