-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
225 lines (225 loc) · 6.46 KB
/
package.json
File metadata and controls
225 lines (225 loc) · 6.46 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
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
{
"name": "esp-decoder",
"displayName": "ESP Crash Decoder",
"description": "Decode ESP32 / ESP8266 crash dumps from serial port",
"version": "0.24.1",
"publisher": "Jason2866",
"license": "GPL-3.0",
"icon": "assets/icon_large.png",
"repository": {
"type": "git",
"url": "https://github.com/Jason2866/ESP-Decoder.git"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Debuggers",
"Testing",
"Other"
],
"keywords": [
"esp32",
"esp8266",
"crash",
"backtrace",
"decode",
"exception",
"platformio",
"pioarduino",
"arduino",
"esp-idf",
"espressif",
"serial",
"terminal",
"xtensa",
"riscv"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"panel": [
{
"id": "esp-decoder-panel",
"title": "ESP Decoder",
"icon": "$(terminal)"
}
]
},
"views": {
"esp-decoder-panel": [
{
"type": "webview",
"id": "esp-decoder.monitorView",
"name": "ESP Crash Monitor",
"icon": "assets/icon.svg"
}
]
},
"commands": [
{
"command": "esp-decoder.openMonitor",
"title": "ESP Decoder: Open Serial Monitor & Crash Decoder",
"icon": "$(terminal)"
},
{
"command": "esp-decoder.selectPort",
"title": "ESP Decoder: Select Serial Port"
},
{
"command": "esp-decoder.selectBaudRate",
"title": "ESP Decoder: Select Baud Rate"
},
{
"command": "esp-decoder.connect",
"title": "ESP Decoder: Connect Serial Port"
},
{
"command": "esp-decoder.disconnect",
"title": "ESP Decoder: Disconnect Serial Port"
},
{
"command": "esp-decoder.selectElfFile",
"title": "ESP Decoder: Select ELF File"
},
{
"command": "esp-decoder.clearOutput",
"title": "ESP Decoder: Clear Output"
}
],
"configuration": {
"title": "ESP Decoder",
"properties": {
"esp-decoder.defaultBaudRate": {
"type": "number",
"default": 115200,
"description": "Default baud rate for serial connections",
"enum": [
9600,
19200,
38400,
57600,
74880,
115200,
230400,
460800,
921600
]
},
"esp-decoder.autoDetectElf": {
"type": "boolean",
"default": true,
"description": "Automatically detect ELF file from PlatformIO or ESP-IDF build directories"
},
"esp-decoder.elfPath": {
"type": "string",
"default": "",
"description": "Manual path to ELF file (overrides auto-detection)"
},
"esp-decoder.toolPath": {
"type": "string",
"default": "",
"description": "Manual path to GDB/addr2line tool (overrides auto-detection)"
},
"esp-decoder.targetArch": {
"type": "string",
"default": "auto",
"enum": [
"auto",
"xtensa",
"esp32c2",
"esp32c3",
"esp32c5",
"esp32c6",
"esp32h2",
"esp32h4",
"esp32p4"
],
"description": "Target architecture for decoding (auto will try to detect from ELF/board)"
},
"esp-decoder.serialMonitor.maxLines": {
"type": "number",
"default": 5000,
"description": "Maximum number of lines to keep in serial monitor"
},
"esp-decoder.serialMonitor.autoscroll": {
"type": "boolean",
"default": true,
"description": "Automatically scroll to bottom on new serial data"
},
"esp-decoder.logDirectory": {
"type": "string",
"default": "logs",
"description": "Directory where Log2File output is written. Relative paths are resolved from the first workspace folder."
},
"esp-decoder.monitorLocation": {
"type": "string",
"default": "panel",
"enum": [
"panel",
"editor"
],
"enumDescriptions": [
"Open monitor in bottom panel (next to Terminal, Output, etc.)",
"Open monitor as editor tab (legacy behavior)"
],
"description": "Location where the ESP Crash Monitor should open"
},
"esp-decoder.serialFilters.timestamp": {
"type": "boolean",
"default": false,
"description": "Prepend a timestamp (HH:MM:SS.mmm) to each line in the serial monitor"
},
"esp-decoder.serialFilters.suppressPattern": {
"type": "string",
"default": "",
"description": "Regex pattern — lines matching this pattern are hidden in the serial monitor (e.g. '^\\s*$' to hide blank lines)"
},
"esp-decoder.serialFilters.highlightPattern": {
"type": "string",
"default": "",
"description": "Regex pattern — matches are highlighted (inverse colours) in the serial monitor"
},
"esp-decoder.serialFilters.dedupPattern": {
"type": "string",
"default": "",
"description": "Regex pattern for repeated characters/strings to collapse in the serial monitor (e.g. \\\\. for dots). Matches beyond the threshold are hidden and counted."
},
"esp-decoder.serialFilters.dedupThreshold": {
"type": "integer",
"minimum": 1,
"default": 3,
"description": "Number of regex matches to show before collapsing repeated characters (dedupPattern)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run build",
"build": "node esbuild.js --production",
"watch": "node esbuild.js --watch",
"package": "npx @vscode/vsce package",
"lint": "eslint src",
"test": "vitest run"
},
"overrides": {
"@serialport/bindings-cpp": "npm:@jason2866/serialport-bindings-cpp@^13.0.5"
},
"dependencies": {
"serialport": "^13.0.0"
},
"devDependencies": {
"@types/node": "^24.0.0",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^8.58.2",
"@typescript-eslint/parser": "^8.58.2",
"esbuild": "^0.28.0",
"eslint": "^10.2.0",
"pioarduino-node-helpers": "^12.4.4",
"typescript": "6.0.2",
"vitest": "^4.1.4"
}
}