this post was submitted on 11 Jul 2023
17 points (87.0% liked)

Linux

48333 readers
630 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 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.