To build a program in Visual Studio Code:
You must use the CMake commands of the kpa library to pack a program into a KPA package.
Important! When creating a startup configuration using the CMake command add_kpa_component(), you must specify the kl.Kds value in the EIID field.
Also, if the started program uses file systems (via the VFS component), you must specify the value VFS_FILESYSTEM_BACKEND=client:kl.VfsSdCardFs in the ENV field when creating a startup configuration using the CMake command add_kpa_component().
For example:
add_kpa_component(Hello.kpa RUN_CONFIGURATION "app" NAME "Hello app" TYPE "service" EIID "kl.Kds" PATH "bin/Hello" ENV "VFS_FILESYSTEM_BACKEND=client:kl.VfsSdCardFs
KOS: Activate extension in this directory.aarch64-kos).debug build type in the drop-down list, and select the gdbstub check box. By default, this button shows type=debug.