Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trstringer/cdebug
:bug: Terse conditional breakpoint debugging
https://github.com/trstringer/cdebug
Last synced: 10 days ago
JSON representation
:bug: Terse conditional breakpoint debugging
- Host: GitHub
- URL: https://github.com/trstringer/cdebug
- Owner: trstringer
- Created: 2016-08-21T23:01:49.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-21T23:03:16.000Z (about 8 years ago)
- Last Synced: 2024-10-11T15:07:28.100Z (24 days ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cdebug
*Conditional debugging in code... a nice, terse solution*
This is just a wrapper around `debugger`.
## Installation
```
npm install cdebug
```## Usage
```javascript
let myVar = 1;
// conditional breakpoint
cdebug(myVar === 1); // breakpoint hitmyVar = 2;
cdebug(myVar === 1); // breakpoint not hit
```