Skip to content

Commit

Permalink
docs: VSCode template launch.json file
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Somogyvari <[email protected]>
  • Loading branch information
petermetz committed May 19, 2020
1 parent c701f5a commit f23e38f
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ typings/
.next

# vscode files
.vscode/
.vscode/*
!.vscode/template.launch.json

# Introperability App specifics
examples/simple-asset-transfer/fabric/**/hfc-key-store/
Expand Down
56 changes: 56 additions & 0 deletions .vscode/template.launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "bif-cmd-api-server",
"program": "${workspaceFolder}/packages/bif-cmd-api-server/dist/lib/main/typescript/cmd/bif-api.js",
"args": [
"--public-key=03aa57b5c6506a6e5a2851dcbc14bf2b3d2b9196aecacc946f630eab5203dca8c4",
"--private-key=da43d3ce06f7b0eef447ca209c00cf2efdef02a761fb5ba2aaf7fc601ceaf555",
"--api-cors-domain-csv=http://editor.swagger.io"
],
"outFiles": [
"/packages/bif-cmd-api-server/dist/lib/**/*"
],
"skipFiles": [
"<node_internals>/**"
]
},
{
"type": "node",
"request": "launch",
"name": "TAP: Current JS Test File",
"console": "integratedTerminal",
"program": "${workspaceFolder}/${relativeFile}",
"cwd": "${workspaceFolder}",
"args": [
"--timeout=9999999"
],
"outFiles": [
"dist/lib/*"
],
"env": {}
},
{
"name": "TAP: Current TS Test File",
"type": "node",
"request": "launch",
"protocol": "inspector",
"env": {
"TS_NODE_PROJECT": "tsconfig.json"
},
"args": [
"${relativeFile}"
],
"runtimeArgs": [
"-r",
"ts-node/register"
],
"console": "integratedTerminal",
"sourceMaps": true,
"cwd": "${workspaceRoot}"
}
]
}

0 comments on commit f23e38f

Please sign in to comment.