This repository has been archived by the owner on Jan 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
140 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
{ | ||
// 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": "ol-cli", | ||
"type": "lldb", | ||
"request": "launch", | ||
"cargo": { | ||
"args": ["build", "-p", "ol-cli"], | ||
}, | ||
"args": [ | ||
// "onboard", "next" //, "--trigger-actions" | ||
// "-a", "ECAF65ADD1B785B0495E3099F4045EC0", "query", "balance" | ||
"mgmt", "--stop-miner" | ||
// "query", "--balance" | ||
// "query", "--blockheight" | ||
// "serve" | ||
// "check" | ||
], | ||
"env":{"NODE_ENV": "test"}, // {"ENV1": "aa", "ENV2: "bb"} | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
{ | ||
"name": "ol-cli serve", | ||
"type": "lldb", | ||
"request": "launch", | ||
"cargo": { | ||
"args": ["build", "-p", "ol-cli"], | ||
}, | ||
"args": [ | ||
"serve", | ||
], | ||
// "args": ["help \n create-account"], | ||
// "env":{"NODE_ENV": "test"}, // {"ENV1": "aa", "ENV2: "bb"} | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
{ | ||
"name": "dbg txs ca toml", | ||
"type": "lldb", | ||
"request": "launch", | ||
"cargo": { | ||
"args": ["build", "-p", "txs"], | ||
}, | ||
"args": [ | ||
"create-account", | ||
"-a", "/home/account.json", | ||
], | ||
// "args": ["help \n create-account"], | ||
"env":{"NODE_ENV": "test"}, // {"ENV1": "aa", "ENV2: "bb"} | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
{ | ||
"name": "dbg txs ca cmdl", | ||
"type": "lldb", | ||
"request": "launch", | ||
"cargo": { | ||
"args": ["build", "-p", "txs"], | ||
}, | ||
"args": [ | ||
"-u", "http://localhost:39935/", | ||
"-w", "0:d0942bb47f3cbc3a5b405c4baaa7dcf19081b3250fca73ce90648c09c723826a", | ||
"create-account", | ||
"-a", "/home/account.json", | ||
], | ||
// "args": ["help \n create-account"], | ||
"env":{"NODE_ENV": "test"}, // {"ENV1": "aa", "ENV2: "bb"} | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
{ | ||
"name": "dbg txs ca swarm", | ||
"type": "lldb", | ||
"request": "launch", | ||
"cargo": { | ||
"args": ["build", "-p", "txs"], | ||
}, | ||
"args": [ | ||
"-s", "/home/libra/swarm_temp", | ||
"create-account", | ||
"-a", "/home/account.json", | ||
], | ||
// "args": ["help \n create-account"], | ||
"env":{"NODE_ENV": "test"}, // {"ENV1": "aa", "ENV2: "bb"} | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
{ | ||
"name": "dbg txs w/o cargo", | ||
"type": "lldb", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/target/debug/txs", | ||
"args": ["create-account -s ~/libra/swarm_temp -a ~/account.json"], | ||
"env":{"NODE_ENV": "test"}, // {"ENV1": "aa", "ENV2: "bb"} | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
{ | ||
"name": "debug func-tests", | ||
"type": "lldb", | ||
"request": "launch", | ||
// "cargo": { "args": ["build", "-p", "move-lang-functional-tests"], }, | ||
"program": "${workspaceFolder}/target/debug/deps/functional_testsuite-fb2faa48d56163c3", | ||
"args": ["zkp"], | ||
// "env":{"NODE_ENV": "test"}, // {"ENV1": "aa", "ENV2: "bb"} | ||
"cwd": "${workspaceFolder}/language/move-lang/functional-tests/" | ||
}, | ||
{ | ||
"name": "debug txs main.rs", | ||
"type": "lldb", | ||
"request": "launch", | ||
"cargo": { | ||
"args": ["build", "-p", "txs"], | ||
}, | ||
"args": [], | ||
"env":{"NODE_ENV": "test"}, | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "miner", | ||
"cargo": { | ||
"args": ["build", "-p", "miner"], | ||
}, | ||
// "args": ["val-wizard"], | ||
"args": ["keygen"], | ||
"env":{"NODE_ENV": "test"}, // {"ENV1": "aa", "ENV2: "bb"} | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Debug miner w/o cargo", | ||
"program": "${workspaceFolder}/target/debug/miner", | ||
"args": ["swarm"], | ||
"env":{"NODE_ENV": "test"}, // {"ENV1": "aa", "ENV2: "bb"} | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
] | ||
} |