@@ -28,53 +28,53 @@ code --install-extension Hyperledger-Fabric-Debugger.vsix
28
28
Open VSCode and navigate to the Run & Debug tab on the sidebar.
29
29
30
30
Click the "Run Extension" button.
31
- ![ Start extension] ( ./extension-start.png )
31
+ ![ Start extension] ( ./images/ extension-start.png )
32
32
33
33
This will open the Extension Development Host, where the debugger's custom UI will appear.
34
- ![ Extension UI Launch] ( ./extension-ui-launch.png )
34
+ ![ Extension UI Launch] ( ./images/ extension-ui-launch.png )
35
35
36
36
## 🧩 Using the Extension Features
37
37
Once the extension UI is open, you’ll see the main dashboard with the following actions:
38
38
39
39
- ** Upload Network Configuration** (e.g., connection profile)
40
- ![ Upload Network] ( ./upload-network.png )
40
+ ![ Upload Network] ( ./images/ upload-network.png )
41
41
42
42
- ** Upload Wallet**
43
- ![ Upload Wallet] ( ./upload-wallet.png )
43
+ ![ Upload Wallet] ( ./images/ upload-wallet.png )
44
44
45
45
- ** Start Local Network** (e.g., using fabric-samples)
46
46
47
47
- ** Query Blocks**
48
- ![ Query Blocks] ( ./block-query.png )
48
+ ![ Query Blocks] ( ./images/ block-query.png )
49
49
50
50
## 🐛 Running the Debugger
51
51
To start debugging your chaincode:
52
52
53
53
1 . Click ** Run & Debug** .
54
54
55
55
2 . Select the configuration: ** Debug Hyperledger Fabric** .
56
- ![ Start Debugger] ( ./debugger-start.png )
56
+ ![ Start Debugger] ( ./images/ debugger-start.png )
57
57
58
58
3 . A file prompt will appear — select your ` chaincode.go ` file.
59
- ![ File Prompt Window] ( ./select-chaincode-file.png )
59
+ ![ File Prompt Window] ( ./images/ select-chaincode-file.png )
60
60
61
61
4 . The debugger will attach using ** Delve** .
62
62
63
63
5 . Set breakpoints in your code.
64
- ![ Debugger attached] ( ./debugger-launched-message.png )
64
+ ![ Debugger attached] ( ./images/ debugger-launched-message.png )
65
65
66
66
You’ll see the standard VSCode debug interface:
67
67
68
68
Variables
69
- ![ Debugger interface] ( ./variables-interface.png )
69
+ ![ Debugger interface] ( ./images/ variables-interface.png )
70
70
71
71
Watch expressions
72
72
Call stack
73
73
Breakpoints panel
74
- ![ Debugger interface] ( ./other-interface.png )
74
+ ![ Debugger interface] ( ./images/ other-interface.png )
75
75
76
76
** Debug Console output from Delve**
77
- ![ Debugger Message] ( ./delve-output.png )
77
+ ![ Debugger Message] ( ./images/ delve-output.png )
78
78
79
79
6 . Use a Fabric client to invoke chaincode.
80
80
0 commit comments