File tree 2 files changed +55
-0
lines changed
2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change
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
+ "name" : " Connect to server" ,
9
+ "type" : " go" ,
10
+ "request" : " attach" ,
11
+ "preLaunchTask" : " delve" ,
12
+ "mode" : " remote" ,
13
+ "remotePath" : " ${workspaceFolder}" ,
14
+ "port" : 23456 ,
15
+ "host" : " 127.0.0.1" ,
16
+ "cwd" : " ${workspaceFolder}"
17
+ }
18
+ ]
19
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ // See https://go.microsoft.com/fwlink/?LinkId=733558
3
+ // for the documentation about the tasks.json format
4
+ "version" : " 2.0.0" ,
5
+ "tasks" : [
6
+ {
7
+ "label" : " delve" ,
8
+ "type" : " shell" ,
9
+ "command" : " dlv debug --headless --listen=:23456 --api-version=2 \" ${workspaceFolder}\" " ,
10
+ "isBackground" : true ,
11
+ "presentation" : {
12
+ "focus" : true ,
13
+ "panel" : " dedicated" ,
14
+ "clear" : false
15
+ },
16
+ "group" : {
17
+ "kind" : " build" ,
18
+ "isDefault" : true
19
+ },
20
+ "problemMatcher" : {
21
+ "pattern" : {
22
+ "regexp" : " "
23
+ },
24
+ "background" : {
25
+ "activeOnStart" : true ,
26
+ "beginsPattern" : {
27
+ "regexp" : " .*"
28
+ },
29
+ "endsPattern" : {
30
+ "regexp" : " .*server listening.*"
31
+ }
32
+ }
33
+ }
34
+ }
35
+ ]
36
+ }
You can’t perform that action at this time.
0 commit comments