# Fabric Debug Plugin

## Hyperledger Fabric Debugger for Visual Studio Code <a href="#hyperledger-fabric-debugger-for-visual-studio-code" id="hyperledger-fabric-debugger-for-visual-studio-code"></a>

Hyperledger Fabric Debugger Plugin is an Open Source Extension for Visual Studio Code that makes it easy for developers to build and debug Chaincode right from within the IDE.&#x20;

Typically, developing Chaincode for Fabric requires developers to set up a Fabric environment, deploy the developed Chaincode to it and then debug it by printing log messages to the console. In addition, installing a new version of Chaincode in a Fabric network is not as simple as uploading the new code. Developers have to execute the chaincode lifecycle commands for every modification to upgrade the Chaincode. This makes it very difficult to develop code in an iterative manner.

By using the Hyperledger Fabric Debug Plugin, a developer does not need to set up a Hyperledger Fabric network to deploy and test Chaincode. The plugin will automatically set up a local Fabric environment and manage the process of installing the Chaincode.

{% hint style="info" %}
Installing Fabric Debugger: You can install debugger for VS Code from the Microsoft Visual Studio Code's Marketplace.\
\
[Install Debugger](https://marketplace.visualstudio.com/items?itemName=Spydra.hyperledger-fabric-debugger)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.spydra.app/products-overview/private-network/fabric-debug-plugin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
