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: docs/javascript/debug-nodejs.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -100,13 +100,13 @@ For this scenario, use Chrome.
100
100
101
101
To attach the debugger from Visual Studio and hit breakpoints in client-side code, the debugger needs help to identify the correct process. Here is one way to enable this.
102
102
103
-
1. Switch to Visual Studio and then set a breakpoint in your source code, which might be a JavaScript file, TypeScript file, *.vue* file, or a JSX file. (Set the breakpoint in a line of code that allows breakpoints, such as a return statement or a var declaration.)
103
+
1. Switch to Visual Studio and then set a breakpoint in your source code, which might be a JavaScript file, TypeScript file, or a JSX file. (Set the breakpoint in a line of code that allows breakpoints, such as a return statement or a var declaration.)
104
104
105
105

106
106
107
107
To find the specific code in a transpiled file, use **Ctrl**+**F** (**Edit** > **Find and Replace** > **Quick Find**).
108
108
109
-
For client-side code, to hit a breakpoint in a TypeScript file, *.vue*, or JSX file typically requires the use of [source maps](#generate_source_maps). A source map must be configured correctly to support debugging in Visual Studio.
109
+
For client-side code, to hit a breakpoint in a TypeScript file or JSX file typically requires the use of [source maps](#generate_source_maps). A source map must be configured correctly to support debugging in Visual Studio.
110
110
111
111
2. Select your target browser as the debug target in Visual Studio, then press **Ctrl**+**F5** (**Debug** > **Start Without Debugging**) to run the app in the browser.
112
112
@@ -160,7 +160,7 @@ To attach the debugger from Visual Studio and hit breakpoints in client-side cod
160
160
161
161
### <aname="troubleshooting_source_maps"></a> Troubleshooting breakpoints and source maps
162
162
163
-
If you need to break into code in a TypeScript, JSX, or *.vue* source file and are unable to do it, use **Attach to Process** as described in the previous steps to attach the debugger. Make sure you that your environment is set up correctly:
163
+
If you need to break into code in a TypeScriptor JSX source file and are unable to do it, use **Attach to Process** as described in the previous steps to attach the debugger. Make sure you that your environment is set up correctly:
164
164
165
165
* You closed all browser instances, including Chrome extensions (using the Task Manager), so that you can run the browser in debug mode.
0 commit comments