Hi,
Normally this should work. If it doesn’t, please try reproducing the problem on a fresh project created from scratch. If it happens reliably and you could share the steps we could follow to reproduce it, we can gladly investigate it further.
If the problem only happens on a specific project, please try comparing its .vgdbcmake file against the one created from scratch. Some of the options set there might be interfering with this.
Another thing to check would be the GDB command line shown in the GDB Session window. If it got overridden at any point, the command-line arguments would indeed not reach the application.