Merge pull request #13236 from qmacro/patch-2

be explicit about having a breakpoint-able line
This commit is contained in:
Sebastiaan van Stijn 2021-07-30 11:15:53 +02:00 committed by GitHub
commit 568308c890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ Click the **Open dedicated DevTools for Node** link. This opens the DevTools tha
Lets change the source code and then set a breakpoint.
Add the following code above the existing `server.use()` statement, and save the file.
Add the following code above the existing `server.use()` statement, and save the file. Make sure that the `return` statement is on a line of its own, as shown here, so you can set the breakpoint appropriately.
```js
server.use( '/foo', (req, res) => {