-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
137 lines (136 loc) · 3.33 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
{
"name": "yaegi",
"publisher": "ethan-reesor",
"displayName": "Yaegi Debugger",
"description": "Yaegi Debugger",
"version": "0.0.0+prerelease",
"author": "Ethan Reesor <[email protected]>",
"license": "Apache-2.0",
"icon": "images/yaegi.png",
"homepage": "https://gitlab.com/ethan.reesor/vscode-notebooks/vscode-yaegi",
"repository": {
"type": "git",
"url": "https://gitlab.com/ethan.reesor/vscode-notebooks/vscode-yaegi.git"
},
"bugs": {
"url": "https://gitlab.com/ethan.reesor/vscode-notebooks/vscode-yaegi/issues"
},
"engines": {
"vscode": "^1.58.0"
},
"extensionDependencies": [
"golang.go-nightly"
],
"categories": [
"Debuggers"
],
"activationEvents": [
"workspaceContains:**/*.go",
"onLanguage:go",
"onDebugInitialConfigurations",
"onDebugResolve:go"
],
"main": "./dist/extension.js",
"contributes": {
"breakpoints": [
{
"language": "go"
}
],
"debuggers": [
{
"type": "yaegi",
"label": "Yaegi",
"languages": [
"go"
],
"configurationSnippets": [
{
"label": "Yaegi: Launch File",
"description": "Debug/test the file in the program attribute",
"body": {
"name": "${2:Launch File}",
"type": "yaegi",
"request": "launch",
"mode": "auto",
"program": "^\"${1:\\${file\\}}\""
}
}
],
"configurationAttributes": {
"attach": {
"required": [
"socket"
],
"properties": {
"socket": {
"type": "string",
"description": "Path to the debug socket"
}
}
},
"launch": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Absolute path to a Go file.",
"default": "${workspaceFolder}/${command:AskForProgramName}"
},
"cwd": {
"type": "string",
"description": "Directory to execute the program in",
"default": "${workspaceFolder}"
},
"args": {
"type": "array",
"description": "Command line arguments passed to the program.",
"items": {
"type": "string"
},
"default": []
},
"env": {
"type": "object",
"description": "Additional environment variables to pass to the debugging (and debugged) process.",
"default": {}
},
"stopAtEntry": {
"type": "boolean",
"description": "Stop the program at its entry point",
"default": false
},
"showProtocolLog": {
"type": "boolean",
"description": "Show a log of DAP requests, events, and responses",
"default": false
}
}
}
}
}
]
},
"scripts": {
"bundle": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"compile": "yarn run bundle --sourcemap",
"watch": "yarn run bundle --sourcemap --watch",
"lint": "eslint src --ext ts",
"vscode:prepublish": "yarn run bundle --minify"
},
"devDependencies": {
"@types/moment": "^2.13.0",
"@types/node": "14.x",
"@types/semver": "^7.3.7",
"@types/vscode": "^1.58.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"esbuild": "^0.12.15",
"eslint": "^7.27.0",
"typescript": "^4.3.2",
"vsce": "^1.95.1"
},
"dependencies": {}
}