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" } ] }