I’m developing an app with Flutter in VS Code installed with Flatpak. I’m trying to debug the app with Brave, which is also installed with Flatpak. As the apps are sandboxed due to Flatpak they don’t see each other.

Is there a way to make VS Code able to launch Brave in debug mode?

  • @[email protected]OP
    link
    fedilink
    41 year ago

    No dice, it still doesn’t work. I tried with all toggles active in Filesystem section but none seem to make it work.

    • SALT
      link
      fedilink
      English
      21 year ago

      Seems you need to alias brave with flatpak run. Because it tried to run brave, and because it’s not in path it won’t able to run.

      flatpak run com.brave.Browser in a shell script with chmod +x to /usr/local/bin/brave

      Content could be the run with $@

      I’m not sure it will work, but worth to try.