Add some debugging util
This commit is contained in:
parent
c2de2873ff
commit
57c05c571a
|
@ -5,7 +5,7 @@ cordless_linux_64
|
|||
cordless
|
||||
cordless_64.exe
|
||||
cordless_32.exe
|
||||
.vscode/
|
||||
cordless_debug
|
||||
.idea/
|
||||
*.log
|
||||
theme.json
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch",
|
||||
"type": "go",
|
||||
"request": "attach",
|
||||
"mode": "remote",
|
||||
"remotePath": "${workspaceFolder}",
|
||||
"port": 2345,
|
||||
"host": "127.0.0.1"
|
||||
},
|
||||
]
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
go build -gcflags="all=-N -l" -o cordless_debug
|
Loading…
Reference in New Issue