Skip to content

Commit 308a2bd

Browse files
authored
Merge pull request #5765 from Mikejo5000/mikejo-nodejs
JS TS updates
2 parents 292cceb + 20d57b2 commit 308a2bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/javascript/debug-nodejs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ For this scenario, use Chrome.
100100

101101
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.
102102

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.)
104104

105105
![Set a breakpoint](../javascript/media/tutorial-nodejs-react-set-breakpoint-client-code.png)
106106

107107
To find the specific code in a transpiled file, use **Ctrl**+**F** (**Edit** > **Find and Replace** > **Quick Find**).
108108

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.
110110

111111
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.
112112

@@ -160,7 +160,7 @@ To attach the debugger from Visual Studio and hit breakpoints in client-side cod
160160

161161
### <a name="troubleshooting_source_maps"></a> Troubleshooting breakpoints and source maps
162162

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 TypeScript or 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:
164164

165165
* You closed all browser instances, including Chrome extensions (using the Task Manager), so that you can run the browser in debug mode.
166166

0 commit comments

Comments
 (0)