Skip to content

Commit 674a0b9

Browse files
committed
feat(sublime): Adding snippet for debugging
Signed-off-by: Vincent Boutour <[email protected]>
1 parent 3cb6e3a commit 674a0b9

File tree

2 files changed

+24
-16
lines changed

2 files changed

+24
-16
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<snippet>
2+
<content><![CDATA[
3+
{
4+
"name": "Debug Main",
5+
"type": "go",
6+
"request": "launch",
7+
"mode": "debug",
8+
"cwd": "${folder}",
9+
"program": "${folder}/cmd/",
10+
"envFile": "${folder}/.env"
11+
},
12+
{
13+
"name": "Debug Test",
14+
"type": "go",
15+
"request": "launch",
16+
"mode": "test",
17+
"program": "${file_path}",
18+
"args": ["-test.run", "Test*"]
19+
}
20+
]]></content>
21+
<tabTrigger>gdc</tabTrigger>
22+
<scope>source.json</scope>
23+
<description>Go Debugger Configurations</description>
24+
</snippet>

sublime/text/snippets/vscode-debug.xml

-16
This file was deleted.

0 commit comments

Comments
 (0)