Skip to content

Instantly share code, notes, and snippets.

@yrong
Created August 31, 2022 14:53
Show Gist options
  • Save yrong/7c31bc1077f506cf657ad8d8574d740b to your computer and use it in GitHub Desktop.
Save yrong/7c31bc1077f506cf657ad8d8574d740b to your computer and use it in GitHub Desktop.
launch.json
{
// 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": [
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'parallel'",
"cargo": {
"args": [
"build",
"--bin=parallel",
"--package=parallel",
"--features=with-evm-runtime",
"--features=runtime-benchmarks",
"--features=try-runtime"
]
},
"args": ["--tmp","--alice","--dev","--rpc-cors=all","--unsafe-ws-external","--unsafe-rpc-external","--ws-port=19944","--rpc-port=29933"],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug runtime-integration unit tests",
"cargo": {
"args": [
"test",
"--package=runtime-integration-tests"
]
},
"args": ["--nocapture"],
"env":{
"SKIP_WASM_BUILD":""
},
"cwd": "${workspaceFolder}"
},
{
"type": "node",
"request": "launch",
"name": "Bridge Tests",
"program": "${workspaceFolder}/scripts/evm/node_modules/.bin/_mocha",
"args": [
"--colors",
"${workspaceFolder}/scripts/evm/test/axelar-bridge.js",
],
"internalConsoleOptions": "openOnSessionStart",
"skipFiles": [
"<node_internals>/**"
]
},
{
"type": "node",
"request": "launch",
"name": "Deploy Token",
"args": [
"${workspaceFolder}/scripts/evm/script/deploy.js",
"deploy"
],
"internalConsoleOptions": "openOnSessionStart",
"skipFiles": [
"<node_internals>/**"
]
},
{
"type": "node",
"request": "launch",
"name": "Mint token test",
"args": [
"${workspaceFolder}/scripts/evm/script/deploy.js",
"test"
],
"internalConsoleOptions": "openOnSessionStart",
"skipFiles": [
"<node_internals>/**"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment