Function

message
String
A debug message to display.

Display a debug notice.

  • In a production build, this method is defined as an empty function (NOP). Uses of this method in Ember itself are stripped from the ember.prod.js build.
1
2
3
import { debug } from '@ember/debug';

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