Tip for running apps in simulator as release for watches with low memory in VS Code

I had a hard time running my app in watches with low memory like Forerunner 55/255 in the simulator because it always compile as debug. The app runs fine as release in the watches.

It is possible to compile app as release and run in the simulator.

In Visual Studio Code extensions menu in left, select Monkey C from Garmin and configure Monkey C: Compiler Options as -r:

The app will be compiled much smaller and run fine in the simulator in case you face this same problem.

Thanks!


Daniel