Solved
No cli (CLT) tools for debugging on Ubuntu in latest stm32 cube vscode extension
Newly installed Ubuntu 25.04
Newly installed VSCode with STM32Cube for Visual Studio Code(preview)
The project generated by STM32CubeMX can be compiled, but cannot be debugged.

