[ESP32-C6] [Remote Flashing and Debugging]: How to Configure VS Code to Use OpenOCD for Remote Flashing and Debugging

shemangui
Posts: 2
Joined: Mon May 11, 2026 1:58 am

[ESP32-C6] [Remote Flashing and Debugging]: How to Configure VS Code to Use OpenOCD for Remote Flashing and Debugging

Postby shemangui » Mon May 11, 2026 12:33 pm

Hello, I’m a beginner in ESP32 development.

I connected an ESP32-C6 development board to computer A, and started OpenOCD using a command like openocd ... -c "bindto xxxx".

Now I want to use VS Code on another computer, computer B, which is on the same local network, so that when I click the Build, Flash, and Debug buttons in VS Code, it can directly operate on the ESP32-C6 development board connected to computer A.

I looked up some information here:
https://docs.espressif.com/projects/vsc ... oject.html

However, the configuration examples there seem to be mainly for debugging, and the provided settings are not very easy for me to understand.

So I’d like to ask whether anyone has successfully set up this kind of configuration before and could offer some help. Many thanks.

Who is online

Users browsing this forum: Bytespider, Google [Bot], PerplexityBot, Semrush [Bot] and 17 guests