Skip to content

Commit

Permalink
Added comma
Browse files Browse the repository at this point in the history
  • Loading branch information
allantito authored and Conduitry committed Apr 24, 2019
1 parent 1f8afcb commit 0d5c246
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/content/tutorial/18-debugging/01-debug/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: The @debug tag
---

Occasionally it's useful to inspect a piece of data as it flows through your app.
Occasionally, it's useful to inspect a piece of data as it flows through your app.

One approach is to use `console.log(...)` inside your markup. If you want to pause execution, though, you can use the `{@debug ...}` tag with a comma-separated list of values you want to inspect:

Expand All @@ -12,4 +12,4 @@ One approach is to use `console.log(...)` inside your markup. If you want to pau
<h1>Hello {user.firstname}!</h1>
```

If you now open your devtools and start interacting with the `<input>` elements, you'll trigger the debugger as the value of `user` changes.
If you now open your devtools and start interacting with the `<input>` elements, you'll trigger the debugger as the value of `user` changes.

0 comments on commit 0d5c246

Please sign in to comment.