Open ifarbod opened 4 months ago
this plugin do not use user launch.json, it will generate launch.json automatically. please set xmake.customDebugConfig to override it.
For anyone running into this issue, put this in your project specific settings.json
.vscode/settings.json
"xmake.customDebugConfig": {
"stopAtEntry": false
},
If you start your debugging session by pressing F5, it will not use the launch.json, to use it you must use the Run -> Start Debugging menu.
Xmake Version
2.8.7
Operating System Version and Architecture
Windows 11 23H2
Describe Bug
When you start debugging, it will always stop at the target's entry point.
Expected Behavior
it should respect the option in launch.json:
Actual behavior, it doesn't.
Project Configuration
N/A
Additional Information and Error Logs
This is always true:
https://github.com/xmake-io/xmake-vscode/blob/cc62b952b67188019593780d75df694ac3efadd8/src/xmake.ts#L1111
Is this intended?