Function

message
String
A debug message to display.

Display a debug notice.

Calls to this function are removed from production builds, so they can be freely added for documentation and debugging purposes without worries of incuring any performance penalty.

1
2
3
import { debug } from '@ember/debug';

debug('I\'m a debug notice!');