2026-04-03 1:29 AM - last edited on 2026-04-03 3:23 AM by Andrew Neil
I want to debug my board on Vscode, But I cannot find openocd scripts now. Without openocd scripts, how can I debug my board?
2026-04-03 2:40 AM
Hello @XFeng and welcome to ST Community.
The STM32 VS Code extension doesn’t natively support OpenOCD, but with some simple configuration, you can integrate it into your debugging workflow.
This article How to configure STM32 VS Code extension to use Op... - STMicroelectronics Community covers how to set up OpenOCD (either Streamline or ST’s fork) with the extension by modifying the launch.json file.
Please let me know if it works.
2026-04-04 12:25 PM
@XFeng
STM32CubeIDE Eclipse flavor is supporting OpenOCD. You get script out of it or just enjoy integration.
OpenOCD support within STM32CubeIDE VS Code flavor is part of our roadmap.