Skip to content

Commit f20237a

Browse files
chore: add mainnet/devnet vscode launch options
1 parent 302e893 commit f20237a

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.vscode/launch.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{
1818
"type": "node",
1919
"request": "launch",
20-
"name": "Launch: app",
20+
"name": "Launch: app dev mainnet",
2121
"runtimeArgs": ["-r", "ts-node/register/transpile-only", "-r", "tsconfig-paths/register"],
2222
"args": ["${workspaceFolder}/src/index.ts"],
2323
"outputCapture": "std",
@@ -27,6 +27,20 @@
2727
"TS_NODE_SKIP_IGNORE": "true"
2828
}
2929
},
30+
{
31+
"type": "node",
32+
"request": "launch",
33+
"name": "Launch: app dev testnet",
34+
"runtimeArgs": ["-r", "ts-node/register/transpile-only", "-r", "tsconfig-paths/register"],
35+
"args": ["${workspaceFolder}/src/index.ts"],
36+
"outputCapture": "std",
37+
"internalConsoleOptions": "openOnSessionStart",
38+
"env": {
39+
"STACKS_CHAIN_ID": "0x80000000",
40+
"NODE_ENV": "development",
41+
"TS_NODE_SKIP_IGNORE": "true"
42+
}
43+
},
3044
{
3145
"type": "node",
3246
"request": "launch",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"test:btc-faucet": "npm run test -- --config ./tests/jest.config.btc-faucet.js",
2323
"test:snp": "npm run test -- --config ./tests/jest.config.snp.js",
2424
"test:integration": "concurrently \"docker compose -f docker/docker-compose.dev.postgres.yml up --force-recreate -V\" \"cross-env NODE_ENV=test jest --config ./tests/jest.config.js --no-cache --runInBand; npm run devenv:stop:pg\"",
25+
"test:integration:api": "concurrently \"docker compose -f docker/docker-compose.dev.postgres.yml up --force-recreate -V\" \"cross-env NODE_ENV=test jest --config ./tests/jest.config.api.js --no-cache --runInBand; npm run devenv:stop:pg\"",
2526
"test:integration:subnets": "concurrently --hide \"devenv:deploy:subnets\" \"npm:devenv:deploy:subnets\" \"cross-env NODE_ENV=test jest --config ./tests/jest.config.subnets.js --no-cache --runInBand; npm run devenv:stop:subnets\"",
2627
"test:integration:2.5": "concurrently --hide \"devenv:deploy-krypton\" \"npm:devenv:deploy-krypton\" \"cross-env NODE_ENV=test jest --config ./tests/jest.config.2.5.js --no-cache --runInBand; npm run devenv:stop-krypton\"",
2728
"test:integration:rosetta": "concurrently \"npm:devenv:deploy-krypton\" \"cross-env NODE_ENV=test jest --config ./tests/jest.config.rosetta.js --no-cache --runInBand; npm run devenv:stop-krypton\"",

0 commit comments

Comments
 (0)