> For the complete documentation index, see [llms.txt](https://algodea-docs.bloxbean.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://algodea-docs.bloxbean.com/debugger-support/debug-stateful-smart-contract.md).

# Debug Stateful Smart Contract

To debug a stateful smart contract :-

* Right click on the editor and select "Algorand > Stateful Contract > Call App"
* Enter transaction details and click debug
* Enter debugger context info (Dry Run Context) like source teal file, accounts etc.&#x20;
* IDE automatically starts tealdbg with the required data and then opens Chrome browser for debugging (If automatic browser opening option is not disabled)

{% embed url="<https://youtu.be/YxF1krhD3AQ>" %}
