launch.json 设置问题

yogi_yi
Posts: 65
Joined: Tue May 25, 2021 11:02 am

launch.json 设置问题

Postby yogi_yi » Mon Sep 27, 2021 8:21 am

按照官方设置的
{
"version": "0.2.0",
"configurations": [
{
"type": "espidf",
"name": "Launch",
"request": "launch",
"debugPort": 9998,
"logLevel": 2,
"mode": "manual",
"skipVerifyAppBinBeforeDebug": false,
"initGdbCommands": [
"target remote :3333",
"symbol-file /path/to/program.elf",
"mon reset halt",
"flushregs",
"thb app_main"
],
"env": {
"CUSTOM_ENV_VAR": "SOME_VALUE"
}
}
]
}

在端口打不开, "debugPort": 应该如何确定?

Who is online

Users browsing this forum: Baidu [Spider] and 76 guests