question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not Recognizing VSCode as Microsoft Signed PopOS 19.04

See original GitHub issue

Issue Description

After installing a fresh install of PopOS 19.04 (based on Ubuntu 19.04) and installing VSCode + Ominsharp I am getting an error that the debugger can not run in this version of VSCode. Then the debugging process stops. This is the case whether running via “Debug Test” or using the launch.json settings for C# projects.

Originally I installed VSCode from the PopShop then updated via the official MS download page for VSCode. The license in both the .deb and in the “About VSCode” seem to be the proper Microsoft signed licence.

I have also tried uninstalling VSCode, using apt-get purge on VSCode and I have removed the following directories:

~/.vscode
~/.config/Code
~/.omnisharp

Then I installed again from the fresh .deb file on the official Microsoft VS Code page.

If there is some other signing or config that is still showing this as a different distribution of VSCode I’m not able to figure out why/where that may be.

Steps to Reproduce

  • Install Ubuntu 19.04
  • Install VSCode
  • Install dotnet sdk and mono-complete
  • Install C# extension
  • Try to debug test or app

Expected Behavior

Debugger should work as usual and start debugging.

Actual Behavior

Debugger prints

-------------------------------------------------------------------
You may only use the Microsoft .NET Core Debugger (vsdbg) with
Visual Studio Code, Visual Studio or Visual Studio for Mac software
to help you develop and test your applications.
-------------------------------------------------------------------

Logs

OmniSharp log

Post the output from Output-->OmniSharp log here

C# log

Post the output from Output-->C# here

Environment information

VSCode version: 1.33.1 C# Extension: 1.18.0

Mono Information OmniSharp using global mono :5.20.1
Dotnet Information .NET Core SDK (reflecting any global.json): Version: 2.2.203 Commit: e5bab63eca

Runtime Environment: OS Name: ubuntu OS Version: 19.04 OS Platform: Linux RID: linux-x64 Base Path: /home/ryan/dotnet/sdk/2.2.203/

Host (useful for support): Version: 2.2.4 Commit: f95848e524

.NET Core SDKs installed: 2.2.203 [/home/ryan/dotnet/sdk]

.NET Core runtimes installed: Microsoft.AspNetCore.All 2.2.4 [/home/ryan/dotnet/shared/Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.2.4 [/home/ryan/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.2.4 [/home/ryan/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download

Visual Studio Code Extensions
Extension Author Version
atom-keybindings ms-vscode 3.0.6
babelrc waderyan 1.0.0
bracket-pair-colorizer CoenraadS 1.0.61
change-case wmaurer 1.0.0
code-beautifier michelemelluso 2.2.1
code-settings-sync Shan 3.2.9
code-spell-checker streetsidesoftware 1.7.5
color-highlight naumovs 2.3.0
csharp ms-vscode 1.18.0
csharpextensions jchannon 1.3.0
EditorConfig EditorConfig 0.13.0
ember-syntax dhedgecock 0.5.0
githistory donjayamanne 0.4.6
gitignore codezombiech 0.6.0
Handlebars andrejunges 0.4.1
markdown-all-in-one yzhang 2.2.0
markdown-table-formatter josa 0.2.3
Material-theme zhuangtongfa 2.21.0
one-monokai azemoh 0.3.7
prettier-vscode esbenp 1.8.1
rainbow-csv mechatroner 1.0.0
rainglow daylerees 1.5.2
ruby rebornix 0.22.3
sass-lint glen-84 1.0.5
seti-icons qinjia 0.1.3
theme-cobalt2 wesbos 2.1.6
Theme-MarkdownKit ms-vscode 0.1.4
url-encode flesler 1.1.0
vscode-circleci jvandyke 0.5.0
vscode-ember-unstable lifeart 0.2.25
vscode-eslint dbaeumer 1.8.2
vscode-fileutils sleistner 2.13.7
vscode-github KnisterPeter 0.30.2
vscode-new-file dkundel 4.0.2
vscode-sql-beautify sensourceinc 0.0.4
vscode-table-formatter shuworks 1.2.1
vscode-text-pastry jkjustjoshing 1.2.0
vscode-toggle-quotes BriteSnow 0.3.2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gregg-miskellycommented, Apr 30, 2019

@matfantinel please install the latest beta. You are running into #3010.

0reactions
gregg-miskellycommented, May 12, 2019

@lonix1 sorry this issue should have been closed earlier. I left it open in case the original opener wanted to comment more. The known issue with Ubuntu 19.04 was fixed in C# extension 1.19.1, so whatever issue you were running into is different. The problem you are running into is that the debugger is abruptly exiting? If so, I am happy to try and help troubleshoot. Please open a new issue, and include a debugger log (instructions).

Read more comments on GitHub >

github_iconTop Results From Across the Web

VS CODE Update (bug) : r/pop_os - Reddit
What's happening here is that the pop os repo has an older version of vscode and is downgrading even after installing a newer...
Read more >
Need help (LINUX): How to run VSCode on a remote ubuntu ...
Hello everybody! I'm trying and trying and can't seem to get this working. I've recently been evaluating different cloud providers and while ...
Read more >
Install PowerShell on Linux - Microsoft Learn
icon indicates that we haven't finished testing PowerShell on that OS; The Not Supported icon indicates that the version of the OS or ......
Read more >
System76 Launch Pop OS 19.04, Based on Ubuntu 19.04
Yes, the features touted on the PopOS website are common to every Linux distro. That's because they're not talking to people who already...
Read more >
How to change the name of a WSL distro to reflect the actual ...
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\ ... For example, Visual Studio Code will not launch correctly because wsl has not ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found