-
Notifications
You must be signed in to change notification settings - Fork 676
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
[OS X] Unable to debug sample HelloMvc app with latest dotnet CLI #144
Comments
You should update your .NET Core SDK bits to the latest. There's been a lot of churn over the past few days. If you install the latest C# extension from https://github.com/OmniSharp/omnisharp-vscode/releases/download/v0.3.9/csharp-0.3.9.vsix into VS Code, you will get a prompt to automatically generate launch.json and tasks.json. Once this is done, F5 works properly for me on OS X. I hit a breakpoint and everything. 😄 |
@DustinCampbell I've been following the latest changes. Thanks. As far as I know VSIX is not supported by OS X. Is there any documentation out there for manually installing |
You can install a VSIX into VS Code with File->Open File. It totally works on OS X, Linux and Windows. |
Awesome! Learn something new every day! |
@DustinCampbell Thanks for the help. F5 on OS X without any issue. 🎉 Not sure if its worth keeping this issue open until |
Since we've got downloadable bits, I'll go ahead and close this. |
Although I'm able to properly restore, build, and run the ASP.NET sample CLI HelloMvc app with the latest dotnet CLI, I am unable to properly debug it in VS Code.
Steps to reproduce
git clone https://github.com/aspnet/cli-samples.git
dotnet restore
dotnet build
code .
fn+F5 and modify the
program
andargs
properties oflaunch.json
to point to yourdotnet
executable and DLL accordingly (see sample below)start debugger
Expected behavior
VS Code launches browser and attaches debugger
Actual behavior
VS Code launches browser but the HelloMvc app cannot find
Index.cshtml
.Enviornment info
The text was updated successfully, but these errors were encountered: