You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.SpaServices/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -688,7 +688,7 @@ If you're unfamiliar with your browser's debugging tools, then take the time to
688
688
689
689
#### Using your browser's built-in debugging tools
690
690
691
-
**Using Chrome's developer tools for debugging**
691
+
##### Using Chrome's developer tools for debugging
692
692
693
693
In Chrome, with your application running in the browser, [open the developer tools](https://developer.chrome.com/devtools#access). You can now find your code:
694
694
@@ -697,7 +697,7 @@ In Chrome, with your application running in the browser, [open the developer too
697
697
698
698
With source maps enabled (which is the case in the project templates in this repo), you'll be able to see your original TypeScript source code, set breakpoints on it, etc.
699
699
700
-
**Using Internet Explorer/Edge's developer tools (F12) for debugging**
700
+
##### Using Internet Explorer/Edge's developer tools (F12) for debugging
701
701
702
702
In Internet Explorer or Edge, with your application running in the browser, open the F12 developer tools by pressing `F12`. You can now find your code:
703
703
@@ -706,7 +706,7 @@ In Internet Explorer or Edge, with your application running in the browser, open
706
706
707
707
With source maps enabled (which is the case in the project templates in this repo), you'll be able to see your original TypeScript source code, set breakpoints on it, etc.
708
708
709
-
**Using Firefox's developer tools for debugging**
709
+
##### Using Firefox's developer tools for debugging
710
710
711
711
In Firefox, with your application running in the browser, open the developer tools by pressing `F12`. You can now find your code:
712
712
@@ -715,7 +715,7 @@ In Firefox, with your application running in the browser, open the developer too
715
715
716
716
With source maps enabled (which is the case in the project templates in this repo), you'll be able to see your original TypeScript source code, set breakpoints on it, etc.
717
717
718
-
**How browser-based debugging interacts with Hot Module Replacement (HMR)**
718
+
##### How browser-based debugging interacts with Hot Module Replacement (HMR)
719
719
720
720
If you're using HMR, then each time you modify a file, the Webpack dev middleware restarts your client-side application, adding a new version of each affected module, without reloading the page. This can be confusing during debugging, because any breakpoints set on the old version of the code will still be there, but they will no longer get hit, because the old version of the module is no longer in use.
721
721
@@ -746,7 +746,7 @@ If you're using Visual Studio Code and Chrome, you can set breakpoints directly
746
746
747
747
For more information about VS Code's built-in debugging facilities, [see its documentation](https://code.visualstudio.com/Docs/editor/debugging).
748
748
749
-
**Caveats**
749
+
Caveats:
750
750
751
751
* The debugging interface between VS Code and Chrome occasionally has issues. If you're unable to set or hit breakpoints, or if you try to set a breakpoint but it appears in the wrong place, you may need to stop and restart the debugger (and often, the whole Chrome process).
752
752
* If you're using Hot Module Replacement (HMR), then whenever you edit a file, the breakpoints in it will no longer hit. This is because HMR loads a new version of the module into the browser, so the old code no longer runs. To fix this, you must:
0 commit comments