# Visual studio code on linux

**URL:** https://discussions.unity.com/t/visual-studio-code-on-linux/673676
**Category:** Desktop
**Tags:** Linux
**Created:** [August 9, 2017, 4:51pm UTC](https://discussions.unity.com/t/visual-studio-code-on-linux/673676 "2017-08-09T16:51:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![knobby67](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@knobby67](https://discussions.unity.com/u/knobby67)
#### Post date: [August 9, 2017, 4:51pm UTC](https://discussions.unity.com/t/visual-studio-code-on-linux/673676/1 "2017-08-09T16:51:43Z")

</div>

Hi All  
has anyone on Linux tried to use visual studio code with Unity. I’m trying right now, added the unity debugger ect, I can start the debugger and it says I’ve connected to the unity process. However I can’t set breakpoints. I’m clicking on the left of the line number, on the line number ect but nothing. Is there something wrong with vsc or do I need to do something to get breakpoints working. I’ve googled but can’t see any solutions. Thanks

---

<div class="post-metadata">

### Author: ![knobby67](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@knobby67](https://discussions.unity.com/u/knobby67)
#### Post date: [August 9, 2017, 5:09pm UTC](https://discussions.unity.com/t/visual-studio-code-on-linux/673676/2 "2017-08-09T17:09:14Z")

</div>

Hi  
I’ve solved it. By default ( I don’t know why ) the debugger was set to c++. If you look down the lower right side bottom bar it says “c++” change this to c#. You need to do it for every file :s I can’t see any way of making c# default

---

<div class="post-metadata">

### Author: ![Fab4](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/fab4/32/160960_2.png) [@Fab4](https://discussions.unity.com/u/Fab4)
#### Post date: [August 9, 2017, 5:12pm UTC](https://discussions.unity.com/t/visual-studio-code-on-linux/673676/3 "2017-08-09T17:12:50Z")

</div>

I Never had any issues with code and unity on Linux. Do you use c++in general?  
I only used c# plugins in code, so maybe that is the reason why I never encountered any problems

---

<div class="post-metadata">

### Author: ![knobby67](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@knobby67](https://discussions.unity.com/u/knobby67)
#### Post date: [August 10, 2017, 8:14am UTC](https://discussions.unity.com/t/visual-studio-code-on-linux/673676/4 "2017-08-10T08:14:14Z")

</div>

Yes I use c++ everyday i work, but I normally don’t use vsc as an editor or debugger. Still can work out why it associates .cs with c++. Maybe I’ve accidentally set something, but can’t for the life figure out why
