lotus/.vscode/launch.json

23 lines
850 B
JSON
Raw Normal View History

2023-10-16 15:28:58 +00:00
{
// 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": "Launch Package",
"type": "go",
"request": "launch",
"mode": "exec",
"program": "lotus-provider",
"args": ["--db-host=localhost","run"],
"env": {
"LOTUS_PATH":"~/.lotus-local-net",
"LOTUS_MINER_PATH":"~/.lotus-miner-local-net",
"LOTUS_SKIP_GENESIS_CHECK":"_yes_",
"CGO_CFLAGS_ALLOW":"-D__BLST_PORTABLE__",
"CGO_CFLAGS":"-D__BLST_PORTABLE__",
}
}
]
}