To start KasperskyOS Community Edition using a launch.json startup configuration:
This will create a debug configuration file named launch.json.
The created .vscode/launch.json file contains sets of configurations with the following names:
(kos/gdb) Attach to process – configuration for connecting to the running process.(kos/gdb) Launch & debug executable – configuration for running the executable file and connecting the debugger to the running process.(kos/gdb) Launch & debug application – configuration for running the program and connecting the debugger to the running process.(kos/gdb) Launch & debug qemu – configuration for running an emulator in debug mode.(kos) Launch executable – configuration for running the executable file.(kos) Launch application – configuration for running the program.(kos) Launch qemu – configuration for running the emulator..vscode/launch.json file, find the (kos) Launch application section containing the application startup parameters:.vscode/launch.json (fragment)
{
"name": "(kos) Launch application",
"type": "kosgdb",
"request": "launch-app",
"app": "app.id",
"noDebug": "true"
}
You can get a list of the available parameters in the tips that appear when you edit the file.
.vscode/launch.json file.(kos) Launch application startup configuration that you edited.Before starting the application, you may need to install the application on the device by using the KOS: Install package command or by setting the parameter preLaunchTask = "true" in the .vscode/launch.json file.