hyperledger-labs / hyperledger-labs/microfab
As a developer, I want to debug my chaincode
- Dominant language
- Go
- Stars
- 80
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I was trying to debug my chaincode but I'm no able to do it with the default VSCode configuration and latest plugin extension (2.0.0):
` "version": "0.2.0",
"configurations": [
{
"type": "fabric:node",
"request": "launch",
"name": "Debug Smart Contract",
"preLaunchTask": "tsc: build - tsconfig.json",
"outFiles": [
"${workspaceFolder}/dist/**/*.js"
]
}
]
}
`
peer complains with following message:
`[ org1peer] 2021-01-25 08:02:05.741 UTC [chaincode] notifyRegistry -> ERRO 17d failed to start bkchain-contract:0.0.4 -- peer will not accept external chaincode connection bkchain-contract:0.0.4 (except in dev mode)`
How do I configure the blockchain in dev mode?
Thanks
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.