View on GitHub

Tech, Games and Whisky

The Sebr's Blog

Unity and Visual Code

|

Last time I used Unity, I was on a Mac using MonoDevelop. I can’t honestly say this was the best experience of my life. Things were working fine but I just didn’t like this IDE.

Because it is 2017: Visual Code!

To my pleasant surprise I noticed that there is now a Visual Code Debugger extension for Unity available in the Visual Code Marketplace.

It is SUPER simple to setup:

1- In Unity Preferences debug

2- Then from Visual Code:

vscode

3- Put breakpoints anywhere in your code. Press F5 in Visual Code to attach to the Editor.

4- Start your game with Unity Editor:

ed

Voila you are good to go!