import {compose} from '@avocado/core'; import {StateProperty, Trait} from '../trait'; const decorate = compose( StateProperty('isDebugging', { track: true, }), ); export class Debuggable extends decorate(Trait) { static defaultState() { return { isDebugging: false, }; } static type() { return 'debuggable'; } }