Open the project folder in VScode.
Sample here i am setting break point in home controller.
Now click the debug option.
add debug configuration like below. Make sure .Net core Launch(web) is selected.
You can see break point will hit , once you start debugging by press run icon.
Web page is seems broken.
Press "F12" or open developer tool.
You can see some errors in console.
Few bootstrap and jquery files were not loaded.
[Find a script and css files by Ctrl+shift+f in VS code and enter missed file name and search.]
Fix this by adding scripts with cdn or exact file location in layout file.
Now refresh the page and watch.
Now site seems fine and no more console error finally.