You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot launch debug session: '/home/.../my_game/godot3' is not a valid Godot executable
now, this is to be expected, as godot3 is not on the path of the sandboxed vs code, so i tried fixing this by setting the executable path to:
/usr/bin/flatpak-spawn --host godot3
but it still reports:
Cannot launch debug session: '/usr/bin/flatpak-spawn --host godot3' is not a valid Godot executable
but i assumed the way the executable is set with the --host flag and such might interfer with the way the plugin checks for the correct version, so i wrote a wrapper script
and set this wrapper script as the executable, which still didn't work. I got it to work though by adding an echo "" to my wrapper script.
Now everything works fine. Debugging with breakpoints etc.
By naming the script "godot3" and putting it in the project root it even works with the default settings out of the box.
Of course, I don't think that should be the recommended way of getting the godot plugin to work with flatpak vs code, thus I#m still reporting this as a bug.
Steps to reproduce
Should happen always if you have flatpak vs code, this plugin and try Run and Debug
The text was updated successfully, but these errors were encountered:
Godot version
v3.2.3.stable
VS Code version
1.94.2 Flatpak
Godot Tools VS Code extension version
v2.3.0
System information
Debian Stable
Issue description
The Plugin always reports
Cannot launch debug session: '/home/.../my_game/godot3' is not a valid Godot executable
now, this is to be expected, as godot3 is not on the path of the sandboxed vs code, so i tried fixing this by setting the executable path to:
/usr/bin/flatpak-spawn --host godot3
but it still reports:
Cannot launch debug session: '/usr/bin/flatpak-spawn --host godot3' is not a valid Godot executable
but i assumed the way the executable is set with the --host flag and such might interfer with the way the plugin checks for the correct version, so i wrote a wrapper script
and set this wrapper script as the executable, which still didn't work. I got it to work though by adding an
echo ""
to my wrapper script.Now everything works fine. Debugging with breakpoints etc.
By naming the script "godot3" and putting it in the project root it even works with the default settings out of the box.
Of course, I don't think that should be the recommended way of getting the godot plugin to work with flatpak vs code, thus I#m still reporting this as a bug.
Steps to reproduce
Should happen always if you have flatpak vs code, this plugin and try Run and Debug
The text was updated successfully, but these errors were encountered: