MISC-TN-018: Visual Studio Code and SSH remote development on SBCSPG Industrial IoT Gateway

From DAVE Developer's Wiki
Jump to: navigation, search
Info Box
SBCSPG-1.jpg Applies to SBCSPG
Cloud-computing-banner.jpg Applies to IoT
1200px-Visual Studio Code 1.35 icon.svg.png Applies to Visual Studio Code
Warning-icon.png This Technical Note was validated against specific versions of hardware and software. What is described here may not work with other versions. Warning-icon.png


History[edit | edit source]

Version Date Notes
1.0.0 January 2021 First public release

Introduction[edit | edit source]

In essence, this Technical Note (TN) illustrates the same debugging configuration described in this article for the SBCSPG Industrial IoT gateway.

The hardware/software platform is detailed here with the notable difference that the Debian release is Buster instead of Stretch.

Setting up the testbed[edit | edit source]

Basically, the steps required to set up the testbed are the same described in MISC-TN-016. Specifically, the configuration was tested with the following versions:

  • Visual Sudio Code Insiders
Version: 1.53.0-insider
Commit: 2ce26643d85bf985d3d3ce6ce0ff5d78866f9b5f
Date: 2021-01-28T13:44:49.973Z
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Linux x64 4.15.0-135-generic
  • Visual Studio Code (VSC) extensions:
SC extensionsV

Testing[edit | edit source]

The following screenshot shows a remote debugging session of a simple Python file.

emote debugging session of a Python fileR