Changes

Jump to navigation Jump to search
m
Minor gramatical corrections (only read first few paragraphs)
Line 1: Line 1:  
== Debugging Webconf with Visual Studio Code ==
 
== 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.
+
This is presented as an example of how Visual Studio Code (VSC) 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.
+
These are loaded using the cog dialog at the bottom of the Visual Studio Code page.
       
[[File:Vsc_extentions_detail.png|thumb|center ]]
 
[[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!   
    
I also tend to add the git-graph extension.  
 
I also tend to add the git-graph extension.  
Line 18: Line 18:  
[[File:Vsc_remote_explorer_section.png|thumb|center]]
 
[[File:Vsc_remote_explorer_section.png|thumb|center]]
   −
I already have a couple of remote zynthians in the machine and VSC is pretty tenacious at hanging onto remote instances it knows about. But we will try to add a new machine.
+
I already have a couple of remote Zynthians in the machine and VSC is pretty tenacious at hanging onto remote instances it knows about. But we will try to add a new machine.
   −
I have a zynthian called zynthian-orig.local. It's actually a genuine zynthian product running a Pi3 and no membrane switches and some fairly simplistic interface. Indeed it has to be disassembled to change the ssd. Such were the early days.!
+
I have a Zynthian called zynthian-orig.local. It's actually a genuine Zynthian product running a Pi3 and no membrane switches and some fairly simplistic interface. Indeed it has to be disassembled to change the ssd. Such were the early days.!
    
The fact that one can run this debug against the modern code is a sign of great overall consistancy.
 
The fact that one can run this debug against the modern code is a sign of great overall consistancy.
Line 28: Line 28:  
== Visual Studio Code Configure. ==
 
== Visual Studio Code Configure. ==
   −
Firstly we need to add the extensions.
+
First we need to add the extensions.
 
[[File:Vsc_extensions.png|thumb|center|800px]]
 
[[File:Vsc_extensions.png|thumb|center|800px]]
  
334

edits

Navigation menu