# Debugging and Performance tools
<span class="related-pages">#debugging</span>
## Useful resources for debugging Obsidian plugins
From user Fevol in [Discord](https://discord.com/channels/686053708261228577/840286264964022302/1171115922266800188):
> [!Quote]
> The link below gives a short introduction to the debugging tools and code performance analyis tools available in Obsidian. It teaches you:
>
> Debugging:
>
> - [how to debug your code with the debugger tool](https://gist.github.com/Fevol/b672865d61e54ac6f61e7c88aa05ba42#debugging-your-code)
>
> Performance and profiling:
>
> - [how to time the execution of your code](https://gist.github.com/Fevol/b672865d61e54ac6f61e7c88aa05ba42#timing-your-code)
> - [how to create flame charts](https://gist.github.com/Fevol/b672865d61e54ac6f61e7c88aa05ba42#flame-charts-firechart_with_upwards_trend)
> - [how to interpret flame charts to evaluate performance](https://gist.github.com/Fevol/b672865d61e54ac6f61e7c88aa05ba42#interpreting-your-flame-chart)
>
> (Suggestions, PR's, etc. are very welcome) [https://gist.github.com/Fevol/b672865d61e54ac6f61e7c88aa05ba42](https://gist.github.com/Fevol/b672865d61e54ac6f61e7c88aa05ba42 "https://gist.github.com/Fevol/b672865d61e54ac6f61e7c88aa05ba42")
## Label sections in performance flame charts
You can add markings to the Timing section of performance flame charts using the Tasks facility described in [[Console timing facilities in Tasks]].
![Sample performance flame chart, showing the labels on the Timings section](Sample%20flame%20chart%20with%20Timing%20labels.png)
<span class="caption">Sample performance flame chart, showing the labels on the Timings section</span>