...
- Launch VS Code.
- In VS Code, select
File.Open Folder
, and navigate to your local copy of the repo folder:..\smartserver-iot\apps\Dsp SP Controller Example\dspSPController
- In the VS Code, select
View.Terminal
, in the terminal window type:npm install
. Your development computer needs an internet connection fro for this command to succeed. - Open the file
.vscode\lauch.json
. You need to make adjustments as shown in the following screenshot: - Click the Bug icon in the left side navigation tool and the Start Debug icon to run the application. Before taking this action, you my want to set a break point or two in dsp-sp-cntl_A.js.
The following screenshot shows the expected results: - If you return to the CMS, you will observe the existence for a new device, myDev.1 in the Device widget. It should appear with a green background to indicate the device is provisioned. If the icon has a blue background, use the Device widget to test the device.
...