Do not show the verbose json, which is already auto generated by CLI. Kinda of scary for users. Just say change in 1st args. And link to https://scrypt.io/scrypt-ts/getting-started/how-to-debug-a-contract#use-visual-studio-code-debugger.
{
"type": "node",
"request": "launch",
"name": "Launch ",
"skipFiles": ["/", "/node_modules/"],
"resolveSourceMapLocations": ["!/node_modules/"],
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
"args": [
"${workspaceRoot}/dist/tests//.test.js",
"--colors",
"-t",
"100000"
],
"preLaunchTask": "tsc: build - tsconfig.json",
"outFiles": []
}
Do not show the verbose json, which is already auto generated by CLI. Kinda of scary for users. Just say change in 1st ",
"skipFiles": ["/", "/node_modules/"],
"resolveSourceMapLocations": ["!/node_modules/"],
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
"args": [
"${workspaceRoot}/dist/tests//.test.js",
"--colors",
"-t",
"100000"
],
"preLaunchTask": "tsc: build - tsconfig.json",
"outFiles": []
}
args
. And link to https://scrypt.io/scrypt-ts/getting-started/how-to-debug-a-contract#use-visual-studio-code-debugger. { "type": "node", "request": "launch", "name": "Launch