Function

debug (message) public

Module: @ember/application
import { debug } from '@ember/debug';
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.
import { debug } from '@ember/debug';

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

© 2020 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember/2.18/functions/@ember%2Fdebug/debug