From 214f197e0472aed0c72c3d5934b510abde62aeac Mon Sep 17 00:00:00 2001 From: heatherlp <40789053+heatherlp@users.noreply.github.com> Date: Mon, 1 Jul 2019 16:19:58 +0100 Subject: [PATCH] Add program attribute for low level node chaincode (#125) Signed-off-by: heatherlp --- generators/chaincode/templates/javascript/.vscode/launch.json | 3 ++- generators/chaincode/templates/typescript/.vscode/launch.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/generators/chaincode/templates/javascript/.vscode/launch.json b/generators/chaincode/templates/javascript/.vscode/launch.json index d7ff793a..fb09d806 100644 --- a/generators/chaincode/templates/javascript/.vscode/launch.json +++ b/generators/chaincode/templates/javascript/.vscode/launch.json @@ -7,7 +7,8 @@ { "type": "fabric:node", "request": "launch", - "name": "Debug Smart Contract" + "name": "Debug Smart Contract", + "program": "${workspaceFolder}/lib/start.js" } ] } diff --git a/generators/chaincode/templates/typescript/.vscode/launch.json b/generators/chaincode/templates/typescript/.vscode/launch.json index ebf5eb08..6aea201b 100644 --- a/generators/chaincode/templates/typescript/.vscode/launch.json +++ b/generators/chaincode/templates/typescript/.vscode/launch.json @@ -11,7 +11,8 @@ "preLaunchTask": "tsc: build - tsconfig.json", "outFiles": [ "${workspaceFolder}/dist/**/*.js" - ] + ], + "program": "${workspaceFolder}/dist/start.js" } ] }