launch.json
路径做相应修改
{ // 使用 IntelliSense 了解相关属性。 // 悬停以查看现有属性的描述。 // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "ESP32S3 USB-JTAG Debug", "type": "cppdbg", "request": "launch", "MIMode": "gdb", "miDebuggerPath": "D:/esp_idf/.espressif/tools/xtensa-esp-elf-gdb/16.2_20250324/xtensa-esp-elf-gdb/bin/xtensa-esp32s3-elf-gdb.exe", "program": "${workspaceFolder}/build/factory_demo_v1.elf", "setupCommands": [ { "description": "Initialize GDB", "text": "-interpreter-exec console \"target remote :3333\"",