This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
120 lines (120 loc) · 2.75 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
{
"name": "probe-rs-vscode",
"displayName": "probe_rs_vscode",
"description": "VS Code for probe.rs",
"version": "0.0.1",
"engines": {
"vscode": "^1.35.0"
},
"categories": [
"Debuggers"
],
"contributes": {
"breakpoints": [
{
"language": "rust"
}
],
"debuggers": [
{
"type": "probe_rs",
"label": "Probe-RS",
"program": "./target/debug/probe-rs-debugadapter",
"languages": [
"rust"
],
"configurationAttributes": {
"attach": {
"required": [
"program",
"chip"
],
"properties": {
"program": {
"type": "string",
"description": "Path to program to debug",
"default": "program.elf"
},
"chip": {
"type": "string",
"description": "Chip to debug, e.g. nrf5182"
},
"cwd": {
"type": "string",
"description": "Working directory of the debugger, typically the crate root",
"default": "${workspaceRoot}"
},
"server_mode": {
"type": "boolean",
"description": "Attach in server mode",
"default": false
},
"server_port": {
"type": "integer",
"description": "Port to attach to in server mode",
"default": 8000
},
"reset": {
"type": "boolean",
"description": "Reset target when attaching",
"default": false
},
"halt_after_reset": {
"type": "boolean",
"description": "Halt target after reset",
"default": true
}
}
}
},
"initialConfigurations": [
{
"type": "probe_rs",
"request": "attach",
"name": "probe-rs Test",
"program": "program.elf",
"chip": "cortex-m0"
}
],
"configurationSnippets": [
{
"label": "Probe-RS: Attach",
"description": "A new configuration for 'debugging' a user selected markdown file.",
"body": {
"type": "probe_rs",
"request": "attach",
"name": "probe-rs Test",
"program": "program.elf",
"chip": "cortex-m0"
}
}
]
}
]
},
"main": "./out/extension.js",
"activationEvents": [
"onDebugAdapterProtocolTracker:probe_rs"
],
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"lint": "eslint extension_src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.48.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^8.0",
"@types/node": "^14.6.2",
"eslint": "^6.0.0",
"@typescript-eslint/parser": "^2.30.0",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"glob": "^7.1.6",
"typescript": "^4.0.2",
"mocha": "^8.1",
"vscode-test": "^1.4.0"
}
}