I am attempting to debug using VScode however I am keep getting “Return code: 255”.
I am on a fresh installation of of Ubunto 20.04 (minimal), vscode 1.52.1, Leagto plugin 1.2 and leaf 2.3.1.
I have followed the instruction for vscode setup here Install the Legato Plugin for VSCode - Legato Docs and trying to debug using the same steps mentioned here How to use vscode Debugger.
Everyting appears to be running normally I can buiild and install the app however when I attempt to debug I never get prompted to install DevMode. I do get prompted to Toggle debug mode with symbols and that appears to run and install. I set a break point and run debug vscode starts the debugger and exits with code 255. The is the same with either launch configuration or attach configuration.
Any ideas?