Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create setting to manually configure system linux distro #1361

Closed
shealey opened this issue Mar 31, 2017 · 2 comments
Closed

Create setting to manually configure system linux distro #1361

shealey opened this issue Mar 31, 2017 · 2 comments

Comments

@shealey
Copy link

shealey commented Mar 31, 2017

I'm building and running .Net core apps on GalliumOS - a lightweight Linux distro based on Ubuntu 16.10 (http://www.galliumos.org).

When I try to launch the debugger, I get the error message "The current Linux distribution 'galliumos' version '2.1' is not currently supported by the .NET Core debugger. Debugging will not be available."

Could we add a VsCode setting for Omnisharp so that users can specify what debugger version to use, in my instance ubuntu 16.10 so that it will work on more Linux distros?

Thanks

@gregg-miskelly
Copy link
Contributor

@shealey that sounds like a reasonable idea. Though if you wouldn't mind, can you try editing your platform.js file to see if things work if you change the following line from '2.0' to '2.1'?

https://github.com/OmniSharp/omnisharp-vscode/blob/master/src/platform.ts#L331

@shealey
Copy link
Author

shealey commented Apr 1, 2017

Hi Gregg,

Changing the version from 2.0 to 2.1 did the trick and I'm now able to debug as a temporary workaround.

Thanks

@gregg-miskelly gregg-miskelly self-assigned this Apr 3, 2017
gregg-miskelly added a commit to gregg-miskelly/vscode-csharp that referenced this issue Apr 7, 2017
dotnet#1361
dotnet#1323

Changes:
1. Add a setting to control what version of the debugger to use on Linux
2. We no longer automaticially select a debugger on Arch. Instead, we point folks to a web page telling them how to install it.
3. Added logic to the package manager so that it can detect if a package is already installed so it will not be redownloaded. This was needed since I wanted to trigger redownloads in the case that the user added the Linux distro setting. But it seemed like a useful feature anyway for folks on slow internet connections.
4. Moved the install code to its own .ts file
gregg-miskelly added a commit that referenced this issue Apr 7, 2017
* Improve dependancy handling / Linux distro handling

#1361
#1323

Changes:
1. Add a setting to control what version of the debugger to use on Linux
2. We no longer automaticially select a debugger on Arch. Instead, we point folks to a web page telling them how to install it.
3. Added logic to the package manager so that it can detect if a package is already installed so it will not be redownloaded. This was needed since I wanted to trigger redownloads in the case that the user added the Linux distro setting. But it seemed like a useful feature anyway for folks on slow internet connections.
4. Moved the install code to its own .ts file

* Updates to the changelog

* Code review fixes

* Restore original whitespace in package.json

* Remove 'runtime id' from the install log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants