Skip to content

Commit

Permalink
Merge pull request #59 from PBrnt/add-console.debug-snippet
Browse files Browse the repository at this point in the history
Add console.debug snippet
  • Loading branch information
xabikos authored Apr 18, 2020
2 parents 488dd9b + 60f791f commit 3bba8f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ Below is a list of all available snippets and the triggers of each one. The **
| `cas→` | console alert method `console.assert(expression, object)`|
| `ccl→` | console clear `console.clear()` |
| `cco→` | console count `console.count(label)` |
| `cdb→` | console debug `console.debug(object)` |
| `cdi→` | console dir `console.dir` |
| `cer→` | console error `console.error(object)` |
| `cgr→` | console group `console.group(label)` |
Expand Down
5 changes: 5 additions & 0 deletions snippets/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@
"prefix": "cco",
"body": "console.count(${1:label});",
"description": "Writes the the number of times that count() has been invoked at the same line and with the same label"
},
"consoleDebug": {
"prefix": "cdb",
"body": "console.debug(${1:object});",
"description": "Displays a message in the console. Also display a blue right arrow icon along with the logged message in Safari"
},
"consoleDir": {
"prefix": "cdi",
Expand Down

0 comments on commit 3bba8f0

Please sign in to comment.