Skip to content

Commit

Permalink
temporary add debug config
Browse files Browse the repository at this point in the history
  • Loading branch information
TakashiMatsuda committed Aug 1, 2021
1 parent 92828e3 commit c4a7df6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
// 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": "ipfs daemon",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "/home/takashi/scripts/ipfs/go-ipfs/cmd/ipfs",
"args": ["daemon"]
},
{
"name": "Launch Package",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "/home/takashi/scripts/ipfs/go-ipfs/cmd/ipfs",
"args": ["swarm",
"peering", "rm",
"/ip4/1.2.3.4/tcp/1234/p2p/QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N]"
],
},
{
"name": "Connect to the ipfs daemon",
"type": "go",
"request": "attach",
"mode": "remote",
"remotePath": "${workspaceFolder}",
"port": 8080,
"host": "127.0.0.1"
},
]
}

0 comments on commit c4a7df6

Please sign in to comment.