Difference between revisions of "Zynthian Webconf debug with Visual Studio Code (VSC)"

From ZynthianWiki
Jump to navigation Jump to search
(Created page with "'''Debugging Webconf with Visual Studio Code''' This is presented as an example of how a Visual Studio Code can be used to examine a component of the zynthian sub system as i...")
 
Line 5: Line 5:
  
  
[[File:Vsc extentions detail.png|thumb ]]
+
[[File:Vsc extentions detail.png|thumb|center ]]
  
 
Once you have these components added you can attempt to log onto an existing Zynthian from your PC, MAC, or linux machine, just so long as it's capable of running Visual Studio Code. In my own case I have it running on a 64 bit Raspbian instance, and I had to build it from source to get it running which is a degree of proof of the overall flexibility of what is after all a Microsoft product!   
 
Once you have these components added you can attempt to log onto an existing Zynthian from your PC, MAC, or linux machine, just so long as it's capable of running Visual Studio Code. In my own case I have it running on a 64 bit Raspbian instance, and I had to build it from source to get it running which is a degree of proof of the overall flexibility of what is after all a Microsoft product!   
Line 11: Line 11:
 
I also tend to add the git-graph extension.  
 
I also tend to add the git-graph extension.  
  
[[File:Vsc git graph.png|thumb|Zynthian git graph]]
+
[[File:Vsc git graph.png|thumb|center|Zynthian git graph]]
  
 
'''The ssh connection'''  
 
'''The ssh connection'''  

Revision as of 15:26, 11 January 2022

Debugging Webconf with Visual Studio Code

This is presented as an example of how a Visual Studio Code can be used to examine a component of the zynthian sub system as it runs using the Visual studio Code extensions, python & remote-ssh. These are loaded using the cog dialog at the bottom of the vsc code page.


Vsc extentions detail.png

Once you have these components added you can attempt to log onto an existing Zynthian from your PC, MAC, or linux machine, just so long as it's capable of running Visual Studio Code. In my own case I have it running on a 64 bit Raspbian instance, and I had to build it from source to get it running which is a degree of proof of the overall flexibility of what is after all a Microsoft product!

I also tend to add the git-graph extension.

Zynthian git graph

The ssh connection

The addition of the remote component adds the Remote Explorer element

Vsc remote explorer section.png