Skip to content

Commit

Permalink
add launch
Browse files Browse the repository at this point in the history
  • Loading branch information
liangping committed Jun 19, 2024
1 parent d1cd74b commit 6905a35
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*.swl
*.swm
*.swn
.vscode
# .vscode
.idea
*.pyc
*.exe
Expand Down Expand Up @@ -85,4 +85,4 @@ contracts/@openzeppelin/*

# Ignore deploy script
development/setup_testnet.sh
development/join_testnet.sh
development/join_testnet.sh
33 changes: 33 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
// 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": "Query Best Block",
"type": "go",
"request": "launch",
"mode": "auto",
"args": ["q", "btclightclient", "best-block"],
"program": "cmd/sided/main.go --home ~/.side"
},
{
"name": "Query Block",
"type": "go",
"request": "launch",
"mode": "auto",
"args": ["q", "btclightclient", "block", "000000006c52128fcccbc0e5d9311cb9ffdfd3d6655dabc63c2871718c278b5f"],
"program": "cmd/sided/main.go"
},
{
"name": "Start Blockchain",
"type": "go",
"request": "launch",
"mode": "auto",
"args": ["start"],
"program": "cmd/sided/main.go"
}
]
}

0 comments on commit 6905a35

Please sign in to comment.