-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 4.08 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 4.08 KB
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
{
"name": "qore-debug-vscode",
"displayName": "Qore Debug",
"version": "0.1.0",
"publisher": "qoretechnologies",
"description": "Qore language debugging support for VS Code",
"author": {
"name": "Ondřej Musil",
"email": "ondrej.musil@qoretechnologies.com"
},
"license": "SEE LICENSE IN LICENSE.txt",
"engines": {
"vscode": "^1.17.0",
"node": "^7.9.0"
},
"categories": [
"Debuggers"
],
"homepage": "https://github.com/qorelanguage/qore-debug-vscode",
"repository": {
"type": "git",
"url": "https://github.com/qorelanguage/qore-debug-vscode"
},
"bugs": {
"url": "https://github.com/qorelanguage/qore-debug-vscode/issues"
},
"dependencies": {
"vscode-debugprotocol": "^1.24.0",
"vscode-debugadapter": "^1.24.0"
},
"devDependencies": {
"@types/mocha": "^2.2.44",
"@types/node": "^6.0.50",
"mocha": "^5.2.0",
"tslint": "^5.8.0",
"typescript": "^2.5.3",
"vsce": "^1.31.2",
"vscode": "^1.1.6",
"vscode-debugadapter-testsupport": "^1.24.0"
},
"scripts": {
"prepublish": "tsc -p ./src",
"compile": "tsc -p ./src",
"tslint": "tslint ./src/**/*.ts",
"watch": "tsc -w -p ./src",
"test": "mocha -u tdd ./out/tests/",
"postinstall": "node ./node_modules/vscode/bin/install",
"package": "vsce package",
"publish": "vsce publish"
},
"main": "./out/extension",
"activationEvents": [
"onDebug",
"onCommand:extension.qore-debug-vscode.getProgramName"
],
"contributes": {
"breakpoints": [
{
"language": "qore"
}
],
"debuggers": [
{
"type": "qore",
"label": "Qore Debug",
"program": "./QoreDebugAdapter.q",
"runtime": "qore",
"variables": {
"AskForProgramName": "extension.qore-debug-vscode.getProgramName"
},
"configurationSnippets": [
{
"label": "Qore Debug: Launch",
"description": "A new configuration for launching a Qore debug program",
"body": {
"type": "qore",
"request": "launch",
"name": "${2:Launch Program}",
"program": "^\"\\${workspaceFolder}/${1:Program}\""
}
}
],
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Absolute path to a text file.",
"default": "${workspaceFolder}/${command:AskForProgramName}"
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": true
},
"trace": {
"type": "boolean",
"description": "Enable logging of the Debug Adapter Protocol.",
"default": true
}
}
}
},
"initialConfigurations": [
{
"type": "qore",
"request": "launch",
"name": "Ask for file name",
"program": "${workspaceFolder}/${command:AskForProgramName}",
"stopOnEntry": true
}
]
}
]
}
}