mirror of https://github.com/docker/docs.git
be explicit about having a breakpoint-able line
This commit is contained in:
parent
4eb588bfbc
commit
68001ae96c
|
|
@ -198,7 +198,7 @@ Click the **Open dedicated DevTools for Node** link. This opens the DevTools tha
|
||||||
|
|
||||||
Let’s change the source code and then set a breakpoint.
|
Let’s 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
|
```js
|
||||||
server.use( '/foo', (req, res) => {
|
server.use( '/foo', (req, res) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue