debug-decorator The decorator for debugging es6 classes. npm install --save-dev debug-decorator Babel import debug from 'debug-decorator'; ... @debug class Cat extends Animal { } Node.js: const debug = require('debug-decorator'); ... class Cat extends Animal { } debug(Cat);