Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
Adding launch.json template (#785)
Browse files Browse the repository at this point in the history
* Adding launch.json template

* Rename
  • Loading branch information
simsekgokhan authored Oct 30, 2021
1 parent 4d4a60f commit 36c60c0
Showing 1 changed file with 140 additions and 0 deletions.
140 changes: 140 additions & 0 deletions .vscode_0L_template/launch.json
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}"
},
]
}

0 comments on commit 36c60c0

Please sign in to comment.