Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Error trying to debug Smart Contract #377

Closed
DennisM330 opened this issue Nov 26, 2018 · 4 comments
Closed

Error trying to debug Smart Contract #377

DennisM330 opened this issue Nov 26, 2018 · 4 comments
Assignees
Labels
bug Something isn't working external

Comments

@DennisM330
Copy link

WIth the .6 release, when clicking the Play icon when trying to debug a Smart Contract I get the following error:
Failed to launch debug Entry "local_fabric" in Fabric registry "fabric.connections" does not exist

@cazfletch
Copy link
Contributor

Hi @DennisM330 what do you have in your user settings?

@DennisM330
Copy link
Author

{
"fabric.runtimes": [
{
"name": "local_fabric",
"developmentMode": false
}
],
"fabric.connections": []
}

@DennisM330
Copy link
Author

DennisM330 commented Nov 26, 2018

This install of the extension was an upgrade from .4 to .6 if that makes any difference? I edited my user settings as follows which seemed to get around the issue. Is this correct? However, this workaround seems to mess up my view of the connection. However, I can submit my transactions and debug stops at my breakpoints from which I just continue to finish out the transaction.

"fabric.runtimes": [
    {
        "name": "local_fabric",
        "developmentMode": true
    }
],
"fabric.connections": [
    {
        "name": "local_fabric"
    }
],   
"extensions.autoUpdate": false

}

@cazfletch cazfletch added the bug Something isn't working label Nov 28, 2018
@cazfletch cazfletch self-assigned this Nov 28, 2018
@cazfletch cazfletch mentioned this issue Nov 28, 2018
cazfletch added a commit that referenced this issue Nov 28, 2018
Update how connecting happens

contributes to #377
Signed-off-by: Caroline Church <caroline.church@uk.ibm.com>
@cazfletch
Copy link
Contributor

done so closing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working external
Projects
None yet
Development

No branches or pull requests

3 participants