Workaround for flatpak version of VSCodium:
In project: .vscode/launch.json
, modify:
- key
"command"
to:
"program": {
"command": "/app/bin/host-spawn",
},
- key
"args"
to:
"args": [
"build/defoldkit/dmengine",
"build/defoldkit/game.projectc"
],
Example: launch.json
{
"configurations": [
{
"name": "Defold Kit",
"type": "lua-local",
"request": "launch",
"stopOnEntry": false,
"verbose": false,
"internalConsoleOptions": "openOnSessionStart",
"program": {
"command": "/app/bin/host-spawn",
},
"args": [
"build/defoldkit/dmengine",
"build/defoldkit/game.projectc"
],
"windows": {
"program": {
"command": "build\\defoldkit\\dmengine.exe"
},
"args": [
"build\\defoldkit\\game.projectc"
]
},
"preLaunchTask": "Defold Kit: Build to Launch"
}
]
}