Anthony Maffert
Anthony Maffert

Reputation: 57

JetBrains Rider IDE - Is debugging .Net Core 1.1.X possible?

I am currently developing an API using .NET Core 1.1.1 using the JetBrains Rider 2017.1 IDE. When trying to run the program, I encounter the following error:

"Failed to start debugging session. Try installing .NET Core SDK 1.0.4 or a later stable 1.0.x release "

Is debugging using Rider possible on .NET Core 1.1.X? And if so how can I make it happen ?

Upvotes: 1

Views: 235

Answers (1)

Antoine Robin
Antoine Robin

Reputation: 198

I successfully debugged a .NET Core 1.1 app with JetBrains Rider 2017.2 and 2017.3.

But I encountered the same issue today as you: a message popped up saying "failed to start debugging session".

I found that this was because my solution configuration was broken. I accidentally left an empty line in the environment variables editor of the configuration editor. Debugger failed to start on any configuration. Run was fine.

I deleted the empty line, saved configuration, launched again the debugger and everything works now as before.

Rider log file (Help > Show Log in Explorer) said only a warning:

WARN | GeneralCommandLine | Skipping environment variable with empty name, value:

I think JetBrains should treat that as an error instead of a warning ...

Upvotes: 4

Related Questions