102 lines
No EOL
2.3 KiB
JSON
102 lines
No EOL
2.3 KiB
JSON
{
|
|
"name": "debug",
|
|
"displayName": "Debug",
|
|
"description": "Native debugging for VSCode - Currently in GDB only beta",
|
|
"version": "0.2.0",
|
|
"publisher": "webfreak",
|
|
"icon": "images/icon-plain.svg",
|
|
"engines": {
|
|
"vscode": "^0.10.1"
|
|
},
|
|
"categories": [
|
|
"Debuggers"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/WebFreak001/code-debug.git"
|
|
},
|
|
"contributes": {
|
|
"debuggers": [
|
|
{
|
|
"type": "gdb",
|
|
"extensions": [],
|
|
"program": "./out/src/gdb.js",
|
|
"runtime": "node",
|
|
"label": "GDB",
|
|
"enableBreakpointsFor": {
|
|
"languageIds": [
|
|
"c",
|
|
"cpp",
|
|
"d",
|
|
"objective-c",
|
|
"fortan",
|
|
"pascal",
|
|
"ada"
|
|
]
|
|
},
|
|
"configurationAttributes": {
|
|
"launch": {
|
|
"required": [
|
|
"target"
|
|
],
|
|
"properties": {
|
|
"target": {
|
|
"type": "string",
|
|
"description": "Path of executable"
|
|
},
|
|
"cwd": {
|
|
"type": "string",
|
|
"description": "Path of project"
|
|
}
|
|
}
|
|
},
|
|
"attach": {
|
|
"required": [
|
|
"target"
|
|
],
|
|
"properties": {
|
|
"target": {
|
|
"type": "string",
|
|
"description": "PID of running program or program name or connection arguments (eg :2345) if remote is true"
|
|
},
|
|
"remote": {
|
|
"type": "boolean",
|
|
"description": "If true this will connect to a gdbserver instead of attaching to a PID",
|
|
"default": false
|
|
},
|
|
"executable": {
|
|
"type": "string",
|
|
"description": "Path of executable for debugging symbols"
|
|
},
|
|
"cwd": {
|
|
"type": "string",
|
|
"description": "Path of project"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"initialConfigurations": [
|
|
{
|
|
"name": "Debug",
|
|
"type": "gdb",
|
|
"request": "launch",
|
|
"target": "./output",
|
|
"cwd": "${workspaceRoot}"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",
|
|
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./"
|
|
},
|
|
"dependencies": {
|
|
"vscode-debugadapter": "^1.0.1",
|
|
"vscode-debugprotocol": "^1.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^1.6.2",
|
|
"vscode": "0.10.x"
|
|
}
|
|
} |