Changes

Jump to navigation Jump to search
Line 14: Line 14:     
== The ssh connection ==  
 
== The ssh connection ==  
 +
 +
To configure SSH connection to the Zynthian:
 +
 +
* Click on the green icon at the bottom left of VSC (tooltip: Open a Remote Window) or F1 then type "Connect to host"
 +
* Select "Connect to host..."
 +
* Select "+ Add New SSH Host..."
 +
* Enter "ssh root@zynthian.local" (use the hostname or IP address of your Zynthian)
 +
* Select "/home/<username>/.ssh/config" to store this configuration in your ssh file (may differ on non *nix systems)
 +
 +
To connect to Zynthian:
 +
 +
* Click on the green icon at the bottom left of VSC (tooltip: Open a Remote Window) or F1 then type "Connect to host"
 +
* Select the entry for the previously configured host, e.g. "zynthian.local"
 +
* Enter password
    
The addition of the remote component adds the Remote Explorer element  
 
The addition of the remote component adds the Remote Explorer element  
Line 89: Line 103:  
== Running the Debugger ==
 
== Running the Debugger ==
   −
[[File:Vsc start debugging.png|thumb|center]]
+
Once you have a specific module in focus you can run the debugger within that module. In this case zynthian_webconf.py ( The module that runs the webconf implementation). We are going to watch MIDI signals being acknowledged in the webconf display.
 +
 
 +
[[File:Vsc start debugging.png|800px|center]]
 +
 
 +
Make sure you have the python debugger extension loaded. This is done via the Cog in the lower left corner and selecting Extensions. Search on Python in the dialog and you should see a similar list to that below. It's a Microsoft component so it's efficacy is established. Select nd it will load it's self, It's pretty good at doing this but do give it some time to complete...
   −
[[File:Vsc remote installing.png|thumb|center]]
+
[[File:Vsc remote installing.png|800px|center]]
   −
[[File:Vsc debug selection.png|thumb|center]]
+
Selecting Run from Top meu will offer a set of options including debug. Press on this, and you will be offered a selection of options as below that allow choice of various environments in the python world that you may wish to be involved with. Select the top option.  
   −
[[File:Vsc already in use.png|thumb|center]]
+
[[File:Vsc debug selection.png|800px|center]]
    
== Turning off Running Webconf instance ==
 
== Turning off Running Webconf instance ==
584

edits

Navigation menu