Hi @fdortu ,
You can apply configuration properties such as targetfiles
to a specific type of build. By default the config options on the extension are applied to a common configuration for both debug and release.
To apply a property exclusively on debug builds, right-click on appconfig_N
, where N
is an integer (usually 0), then select Configuration: Debug
.
After that, just add targetfiles
as a new property and put its value as before.
Do the same with the release build, but changing the value of targetfiles
to something without gdbserver, similar to this:
ENTRYPOINT sudo sh -c "/home/torizon/entrypoint-torizon.sh" && /#%application.appname%#/#%application.exename%# #%application.appargs%#
Don’t forget to rebuild each container with:
- F1 → Torizon: Build debug container
- F1 → Torizon: Build release container for the application
Hope this helps.
Best regards,
Lucas Akira