-
Notifications
You must be signed in to change notification settings - Fork 98
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
Problem with debugging simple .Net mvc application #39
Comments
@svor Thanks a lot. I cannot reproduce the issue. I checked on Ubuntu 18.04. And I didn't see any problems. In video I saw the pause of debugger, but debugger wait of process (browser) running.
Should be in launch.json:
|
Hi, i have the exact same issue with my mvc angular app: Log: https://paste.linux.pizza/?e11e540467739a4f#9yp7wM8d7BaWKHNJAvyuZzrNawWx7vGmMxRZia9rApfS lauch.json
Log without |
Hello @a-zh, thank you for the answer. The file with logs was attached in the description, here it is: I cannot skip |
For this case:
|
@a-zh It does not freeze with But with Log: https://paste.linux.pizza/?f657698128316c64#BD2onk17hNVyeLs8BcitjzUCaG2haxsBdJ6738vkUFTu It freezes after: |
@a-zh @joern-h
Log file is here: https://gist.github.com/svor/a5a78db4e61cd779a97d1d59e013a880 |
I reproduced it once. But now, you can check
Please, clean and rebuild the project. |
@a-zh |
Sadly, pressing F5 a few times does not work on my angular app... The server starts, but something is still wrong: |
@svor I found the issue with threads command. Fixes on review. And I see, that the webserver starts and webpage available from web-browser. Auto starting of webbrowser not supported right now.
Its looks like another issue. Please, give me more info of your project. I need full project sources for reproduce issue or |
@a-zh you can reproduce it by creating a new dotnet angular project:
and here is the https://paste.linux.pizza/?13c14126dc33921d#6iAttBdu1kHAq9qyhYsugqavyd4KExqs7XWJh5yVweyE dotnet --version 3.1.201 |
@viewizard |
I found use AddMvcCore() instead of AddMvc() ,netcoredbg will run well, but I don't know why... |
I'm trying to debug simple .Net mvc application which was generated by the command:
dotnet new mvc --no-https --auth None
When I run debug configuration in VS Code, it starts running the application and stops at entry but it freezes at
As a result the application doesn't start fully and the debugger is frozen. Any idea what is wrong?
Netcoredbg Log file
https://gist.github.com/svor/13af827c7d00b2577aeb7038a70a6412
VS Code debug configuration
Short video
https://youtu.be/beBx9X_bh6g
Environment
os: Linux Mint 19.3 (x86-64)
dotnetcore-sdk: 3.0.1
netcoredbg: latest releas
The text was updated successfully, but these errors were encountered: