Closed gudvinr closed 4 weeks ago
I've made these changes in #1261
You can try these changes using this vsix installer to see if it works for you. Same for avoid breakpoint at app_main
I don't see an error in Extension Host log with that installer.
OS
Windows
Operating System version
Arch Linux
Visual Studio Code version
1.91.1
ESP-IDF version
5.2.2
Python version
3.12
Doctor command output
ESP-IDF Extension for Visual Studio Code report
``` ---------------------------------------------- ESP-IDF Extension for Visual Studio Code report --------------------------------------------- OS linux x64 6.9.10-arch1-1 System environment variable IDF_PYTHON_ENV_PATH undefined System environment variable PATHExtension
No response
Description
After using workaround I noticed that launching debugger from status bar doesn't work anymore.
I am not entirely sure but this could be caused by this because
JSON.Parse
doesn't support trailing commas.These are part of JSON5 that is supported by vscode itself I believe.
If you insert
"initCommands": [],
right before}
, you will get an error.If that is the case, I think it can be mitigated by getting launch config directly from getConfiguration("launch", ...) or by fixing json/parser to make it compliant.
Debug Message
I have checked existing issues, online documentation and the Troubleshooting Guide