> For the complete documentation index, see [llms.txt](https://r2northstar.gitbook.io/r2northstar-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://r2northstar.gitbook.io/r2northstar-wiki/modding-and-development/development/debugging/visualstudio.md).

# Visual Studio

{% hint style="warning" %}
The GitBook based NorthstarWiki has been replaced in favour of the [NorthstarDocs](https://docs.northstar.tf/) where this wiki has been integrated.

Check it out here: <https://docs.northstar.tf/Wiki/>

The same page on the new wiki should be located here: <https://docs.northstar.tf/Wiki/development/debugging/visualstudio>
{% endhint %}

Northstar is easiest to debug through Visual Studio due to its cmake support.

* If you do not already have Visual Studio download it <https://visualstudio.microsoft.com/>
  * Its recommended that you install the Community version because it is freely availalbe.
  * You need to install the `Desktop development with C++` workflow to debug native programs\
    ![](/files/5ET85tpaVME65COKm7Fj)
* Open Visual Studio
* Select `Open a project or solution`\
  ![](/files/G6tFoljeTloJRAn0iC5t)
  * If you already have a solution open you can open a new project through the menu bar\
    ![](/files/XFrlWzXLygAyjAXDicmz)
* Open `NorthstarLauncher.exe`
* You can now debug Northstar\
  ![](/files/NFPAjSb8XNg7H7m7hpMu)
  * You can find relevant debug symbols in [NorthstarLauncher releases](https://github.com/R2Northstar/NorthstarLauncher/releases)
