The most popular way of debugging in PHP is now available in JavaScript.
dd was carefully crafted to simplify the debugging of your JavaScript code directly from your terminal. It was created and maintained by Nuno Maduro.
# First, install:
yarn add @nunomaduro/dd --dev
// Then, use it:
import dd from '@nunomaduro/dd';
dd({ foo: 'bar' });
// Throws an error:
dd({ foo: 'bar' }).exit();
Do you like this project? Support it by donating
dd is open-sourced software licensed under the MIT license.