Improve VS Code debugger support

This commit is contained in:
Rylan Polster
2024-08-15 11:47:31 -04:00
parent bbe3584168
commit 842b4ac3d3
4 changed files with 34 additions and 6 deletions
+11 -2
View File
@@ -3,9 +3,18 @@
"configurations": [
{
"type": "rdbg",
"name": "Attach with rdbg",
"name": "Debug Homebrew command",
"request": "launch",
"rdbgPath": "${workspaceFolder}/Library/Homebrew/shims/gems/rdbg",
"command": "brew debugger --",
"script": "${fileBasenameNoExtension}",
"askParameters": true
},
{
"type": "rdbg",
"name": "Attach to Homebrew debugger",
"request": "attach",
"rdbgPath": "${workspaceFolder}/Library/Homebrew/vendor/portable-ruby/current/lib/ruby/gems/3.3.0/gems/debug-1.9.1/exe/rdbg",
"rdbgPath": "${workspaceFolder}/Library/Homebrew/shims/gems/rdbg",
"env": {
"TMPDIR": "/private/tmp/",
}