denis-shienkov / vscode-qbs

Qbs Tools extension for VSCode
MIT License
24 stars 12 forks source link

Cannot run/debug product with arguments from launch.json #73

Closed Psy-Kai closed 1 year ago

Psy-Kai commented 1 year ago

The arguments set in launch.json are not used when running /debugging the application via the Qbs-extension.

Edit: How to run (not debug) the application using a launch configuration? With QBS Debug it uses args from launch.json. With QBS Run it does not use args.

denis-shienkov commented 1 year ago

AFAIK, the VSCode does not support the arguments to Run the application. This even does not implemented and in the CMake extension: https://github.com/microsoft/vscode-cmake-tools/blob/main/src/cmakeProject.ts#L2325

UPD: Hmm, seems I have found the similar core in the Cmake tools: https://github.com/microsoft/vscode-cmake-tools/blob/main/src/cmakeProject.ts#L2366