Skip to content

Commit 8262c59

Browse files
authored
Add launch configuration for debugging (#619)
1 parent 45b12f9 commit 8262c59

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.vscode/launch.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "ruby_lsp",
9+
"name": "Debug script",
10+
"request": "launch",
11+
"program": "ruby ${file}"
12+
},
13+
{
14+
"type": "ruby_lsp",
15+
"name": "Debug test",
16+
"request": "launch",
17+
"program": "ruby -Itest ${relativeFile}"
18+
},
19+
{
20+
"type": "ruby_lsp",
21+
"name": "Attach debugger",
22+
"request": "attach"
23+
}
24+
]
25+
}

0 commit comments

Comments
 (0)