forked from eclipse-cdt-cloud/cdt-gdb-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
174 lines (174 loc) · 4.92 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
{
"name": "cdt-gdb-vscode",
"version": "0.0.90",
"description": "VS Code extension for CDT GDB debug adapter",
"publisher": "eclipse-cdt",
"repository": {
"type": "git",
"url": "https://github.com/eclipse-cdt/cdt-gdb-vscode.git"
},
"author": "Ecilpse CDT",
"license": "EPL-2.0",
"icon": "images/cdt_debug_logo.png",
"bugs": {
"url": "https://github.com/eclipse-cdt/cdt-gdb-vscode/issues"
},
"homepage": "https://github.com/eclipse-cdt/cdt-gdb-vscode#readme",
"main": "./out/extension",
"engines": {
"vscode": "^1.26.0"
},
"activationEvents": [
"onDebug",
"onCommand:cdt.gdb.memory.open"
],
"contributes": {
"commands": [
{
"category": "GDB",
"title": "Open Memory Browser",
"command": "cdt.gdb.memory.open"
}
],
"breakpoints": [
{
"language": "c"
},
{
"language": "cpp"
}
],
"debuggers": [
{
"type": "gdb",
"label": "GDB",
"program": "./node_modules/cdt-gdb-adapter/dist/debugAdapter.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"gdb": {
"type": "string",
"description": "Path to gdb",
"default": "gdb"
},
"program": {
"type": "string",
"description": "Path to the program to be launched",
"default": "${workspaceFolder}/${command:askProgramPath}"
},
"arguments": {
"type": "string",
"description": "Arguments for the program"
},
"verbose": {
"type": "boolean",
"description": "Produce verbose log output",
"default": "false"
},
"logFile": {
"type": "string",
"description": "Absolute path to the file to log interaction with gdb"
},
"openGdbConsole": {
"type": "boolean",
"description": "(UNIX-only) Open a GDB console in your IDE while debugging"
}
}
},
"attach": {
"required": [
"program",
"processId"
],
"properties": {
"gdb": {
"type": "string",
"description": "Path to gdb",
"default": "gdb"
},
"program": {
"type": "string",
"description": "Path to the program to be debugged",
"default": "${workspaceFolder}/${command:askProgramPath}"
},
"processId": {
"type": "string",
"description": "Process ID to attach to",
"default": "${command:askProcessId}"
},
"verbose": {
"type": "boolean",
"description": "Produce verbose log output",
"default": "false"
},
"logFile": {
"type": "string",
"description": "Absolute path to the file to log interaction with gdb"
},
"openGdbConsole": {
"type": "boolean",
"description": "(UNIX-only) Open a GDB console in your IDE while debugging"
}
}
}
},
"variables": {
"askProgramPath": "cdt.debug.askProgramPath",
"askProcessId": "cdt.debug.askProcessId"
},
"initialConfigurations": [
{
"type": "gdb",
"request": "launch",
"name": "gdb launch"
}
]
}
]
},
"scripts": {
"build:tsc": "tsc",
"watch:tsc": "tsc -w",
"build:webpack": "webpack --mode production",
"watch:webpack": "webpack --watch",
"build": "run-s build:*",
"watch": "run-p watch:*",
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "node -e \"require('vscode/bin/install')\"",
"vscode:prepublish": "npm run build",
"vsce:package": "vsce package"
},
"dependencies": {
"cdt-gdb-adapter": "*",
"react": "^16.8.1",
"react-dom": "^16.8.1"
},
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.3",
"@types/react": "^16.8.2",
"@types/react-dom": "^16.8.0",
"chai": "^4.2.0",
"css-loader": "^2.1.0",
"event-stream": "^4.0.1",
"node-sass": "^4.11.0",
"npm-run-all": "^4.1.5",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"ts-loader": "^5.3.0",
"tslint": "^5.11.0",
"typescript": "^3.1.6",
"vsce": "^1.53.0",
"vscode": "^1.1.21",
"webpack": "^4.25.1",
"webpack-cli": "^3.1.2"
},
"bundledDependencies": [
"cdt-gdb-adapter"
]
}