be explicit about having a breakpoint-able line

This commit is contained in:
DJ Adams 2021-07-27 10:37:00 +01:00 committed by GitHub
parent 4eb588bfbc
commit 68001ae96c
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) => {