2026-04-07 9:48 AM
I have started a CMake project with CubeMX. I can edit, build and debug using VS Code. CubeIDE has some debugging abilities missing in VSCode extension. So I would like to know if there is a way to do all the extensive editing in VSCode and the debugging in the IDE. That would be an ideal scenario because I could combine the best features of both environments.
Solved! Go to Solution.
2026-04-07 10:08 AM
Solved: Can I use STM32CubeMX2 to generate an STM32CubeIDE... - STMicroelectronics Community
2026-04-07 10:08 AM
Solved: Can I use STM32CubeMX2 to generate an STM32CubeIDE... - STMicroelectronics Community
2026-04-07 12:26 PM
If I recall correctly, I have tried this. Nevertheless I will give it a try again and get back to you in any case.
Thank you for your time and effort.
2026-04-07 12:48 PM
I figured out what my issue was. Your suggestion is correct and works if the project directory is not the same as CubeIDE's workspace directory. The process doesn't copy or move any files from original location into the workspace, which is helpful and desired behavior in my use case.
Thank again for your valuable help.