forked from artificialinc/debug-adapter-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
179 lines (179 loc) · 5.49 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
{
"name": "artificial-debug-extension",
"displayName": "Artificial Inc. Workflow Debugger VSCode Extension",
"version": "1.2.0",
"publisher": "artificial",
"description": "Enables debugging of Artificial, Inc. Workflows.",
"author": {
"name": "Artificial, Inc."
},
"engines": {
"vscode": "^1.66.0"
},
"icon": "images/icon.png",
"categories": [
"Debuggers"
],
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/artificialinc/debug-adapter-extension.git"
},
"bugs": {
"url": "https://github.com/artificialinc/debug-adapter-extension/issues"
},
"scripts": {
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"typecheck": "tsc -p tsconfig.json --noEmit",
"esbuild-base": "esbuild ./src/extension.ts --bundle --tsconfig=./tsconfig.json --external:vscode --format=cjs --platform=node --outfile=dist/extension.js",
"watch": "npm run -S esbuild-base -- --sourcemap --sources-content=false --watch",
"build": "npm run -S esbuild-base -- --sourcemap --sources-content=false",
"package": "vsce package",
"publish": "vsce publish",
"publish-pre-release": "vsce publish --pre-release",
"vscode:prepublish": "rimraf dist && npm run -S esbuild-base -- --minify",
"test": "npm run typecheck"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "^14.14.37",
"@types/vscode": "^1.66.0",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"@vscode/debugadapter": "^1.55.1",
"@vscode/debugadapter-testsupport": "^1.55.1",
"await-notify": "^1.0.1",
"base64-js": "^1.5.1",
"esbuild": "^0.14.29",
"eslint": "^8.12.0",
"events": "^3.3.0",
"glob": "^7.2.0",
"mocha": "^9.2.2",
"path-browserify": "^1.0.1",
"rimraf": "^3.0.2",
"typescript": "^4.6.3",
"url": "^0.11.0",
"vsce": "^2.7.0"
},
"main": "./dist/extension.js",
"activationEvents": [
"onDebugResolve:artificial-workflow",
"onDebugDynamicConfigurations:artificial-workflow",
"onUri:artificial.artificial-debug-extension"
],
"workspaceTrust": {
"request": "never"
},
"contributes": {
"breakpoints": [
{
"language": "python"
}
],
"configuration": [
{
"title": "Artificial Workflow Debugging",
"properties": {
"artificial.workflow.debug.envFilePath": {
"type": "string",
"default": null,
"description": "Path to .env file to use for Artificial Workflows debug adapter"
}
}
}
],
"debuggers": [
{
"type": "artificial-workflow",
"languages": [
"python"
],
"label": "Artificial Workflow",
"program": "wfdebug",
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Absolute path to a workflow file.",
"default": "${file}"
},
"jobId": {
"type": "string",
"description": "Unique id of an existing request to launch.",
"default": ""
},
"jobName": {
"type": "string",
"description": "Unique name of an existing request to launch; ignored if jobId is set.",
"default": ""
},
"envFile": {
"type": "string",
"description": "Absolute path to a .env file for the debug adapter.",
"default": ""
},
"jobArgs": {
"type": "object",
"description": "Values for workflow request module parameters; ignored if jobId or jobName is set.",
"default": {}
}
}
},
"attach": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Absolute path to a workflow file.",
"default": "${file}"
},
"jobId": {
"type": "string",
"description": "Unique id of the running job to attach to.",
"default": ""
},
"jobName": {
"type": "string",
"description": "Unique name of the running job to attach to; should be set if jobId is not set.",
"default": ""
},
"envFile": {
"type": "string",
"description": "Absolute path to a .env file for the debug adapter.",
"default": ""
}
}
}
},
"initialConfigurations": [
{
"type": "artificial-workflow",
"request": "launch",
"name": "Debug Current Workflow File",
"program": "${file}"
}
],
"configurationSnippets": [
{
"label": "Workflow Debug: Launch",
"description": "A new configuration for 'debugging' the current workflow file.",
"body": {
"type": "artificial-workflow",
"request": "launch",
"name": "Debug Current Workflow File",
"program": "^\"\\${file}\""
}
}
]
}
]
}
}