Skip to content

Commit 5b1f133

Browse files
Added vscode debugger
1 parent f0dc3c6 commit 5b1f133

4 files changed

Lines changed: 427 additions & 4 deletions

File tree

raz-adapters/vscode/package.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "Uriah Galang <codeitlikemiley@gmail.com>",
66
"icon": "images/raz-logo.gif",
77
"license": "MIT",
8-
"version": "0.1.3",
8+
"version": "0.1.4",
99
"repository": {
1010
"type": "git",
1111
"url": "https://github.com/codeitlikemiley/raz"
@@ -76,6 +76,16 @@
7676
"command": "raz.setupBinary",
7777
"title": "Setup RAZ Binary",
7878
"category": "RAZ"
79+
},
80+
{
81+
"command": "raz.toggleBreakpointDetection",
82+
"title": "Toggle Breakpoint Detection",
83+
"category": "RAZ"
84+
},
85+
{
86+
"command": "raz.showDebugInfo",
87+
"title": "Show Debug Info",
88+
"category": "RAZ"
7989
}
8090
],
8191
"keybindings": [
@@ -109,6 +119,31 @@
109119
"type": "string",
110120
"default": "",
111121
"description": "Custom path to RAZ binary. Leave empty for automatic download, or set to 'raz' to use system PATH, or provide full path to binary. Use 'RAZ: Setup RAZ Binary' command for guided setup."
122+
},
123+
"raz.enableBreakpointDetection": {
124+
"type": "boolean",
125+
"default": true,
126+
"description": "Enable automatic breakpoint detection for debugging integration"
127+
},
128+
"raz.useRustAnalyzerCodeLens": {
129+
"type": "boolean",
130+
"default": true,
131+
"description": "Use rust-analyzer codelens for debugging support"
132+
},
133+
"raz.prioritySymbolKinds": {
134+
"type": "array",
135+
"default": ["Function", "Enum", "Struct", "Object", "Module"],
136+
"description": "Symbol kinds to prioritize for debugging context detection",
137+
"items": {
138+
"type": "string",
139+
"enum": ["Module", "Object", "Struct", "Enum", "Function"]
140+
}
141+
},
142+
"raz.logLevel": {
143+
"type": "string",
144+
"default": "error",
145+
"description": "Set the logging level for RAZ debugging features",
146+
"enum": ["debug", "info", "error"]
112147
}
113148
}
114149
}

0 commit comments

Comments
 (0)