-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
TLDR: My questions are:
- Am I correct in my assumption that I can push new software to the watch and debug it from within the VS Code dev container?
- Are there any additional steps (such as manually starting the OpenOCD server on my host machine?) that need to be taken to facilitate this.
Background:
With the recent addition of the VSCode dev container, I've finally been able to get some code compiled and sent to my dev watch using the OTA method. This is all well and good but:
- The process is slow and makes iterating on changes arduous
- It affords no debugging capabilities (ex. logging, etc.)
I've read through the various docs that describe using OpenOCD for flashing the application firmware to the watch as well as (I think?) connecting to it for debugging purposes. It looks like debugging facilities are set up within the dev container as well (accessed via the Run and Debug tab in VS Code).
From reading the various docs, it appears that the dev container provides facilities for flashing the application firmware to the watch as well as debugging it. (Granted, I could be mistaken about this).
However, when attempting to run + debug, VS Code presents me with a pop-up message that reads:
Failed to launch GDB: host.docker.internal:3333: Connection timed out. (from target-select extended-remote host.docker.internal:3333)