(I refer Visual Studio Code as vscode)
I am working on Asp.Net Mvc project with .Net Core 2.2. If I do not modify the source code after I open vscode, I can debug/run the project within vscode without any problem. But after I modify the source code, if I debug, vscode gives me warning
Breakpoint warning: The source code is different from the original version. To allow this breakpoint to be hit: Add '"requireExactSource": false' to launch.json and restart debugging.
when i put a breakpoint and it comes disabled automatically. Also i can not see the last changes in the running project.
To be able to see the last modifications, I have to debug with Visual Studio once, and then if I debug/run the source code with vscode again, no problem till I modify the source code again.
How can I fix this situation?
Note: There is a similar question here but it says s/he can not use breakpoints since first run and the problem is related to dotnet path. My problem is completely different.