# Best way to debug a plugin?

**URL:** <https://forum.juce.com/t/best-way-to-debug-a-plugin/56007>\
**Category:** Audio Plugins\
**Created:** [April 30, 2023, 9:49am UTC](https://forum.juce.com/t/best-way-to-debug-a-plugin/56007 "2023-04-30T09:49:55Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![AdamVenn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/adamvenn/32/17023_2.png) [@AdamVenn](https://forum.juce.com/u/AdamVenn)\
**Post date:** [April 30, 2023, 10:46am UTC](https://forum.juce.com/t/best-way-to-debug-a-plugin/56007/4 "2023-04-30T10:46:35Z")

</div>

Cool, I would recommend Visual Studio Code for debugging on Linux.

> **[Debugging in Visual Studio Code](https://code.visualstudio.com/Docs/editor/debugging)**
>
> One of the great things in Visual Studio Code is debugging support. Set breakpoints, step-in, inspect variables and more.

[https://forum.juce.com/t/how-to-debug-application-in-linux-vs-code/53974/4r](https://forum.juce.com/t/how-to-debug-application-in-linux-vs-code/53974/4r)

And if you didn’t already find it…

> [@List of Juce dependencies under linux](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121):
>
> I had to reinstall a fresh Ubuntu, and therefore grab all the dependancies for Juce…again. So I thought I’d make a little list and share it with you guys, in case it can save someone else’s time … sudo apt-get -y install g++ sudo apt-get -y install libfreetype6-dev sudo apt-get -y install libx11-dev sudo apt-get -y install libxinerama-dev sudo apt-get -y install libxrandr-dev sudo apt-get -y install libxcursor-dev sudo apt-get -y install mesa-common-dev sudo apt-get -y install libasound2-dev su…

(though i think that one is in the JUCE docs)

Let me know if you need more help.

---

_[View the full topic](https://forum.juce.com/t/best-way-to-debug-a-plugin/56007)._
