ember/ember-3.20.6.template-compiler.js
/**
    Ember Inspector calls this function to capture the current render tree.
  
    In production mode, this requires turning on `ENV._DEBUG_RENDER_TREE`
    before loading Ember.
  
    @private
    @static
    @method captureRenderTree
    @for @ember/debug
    @param app {ApplicationInstance} An `ApplicationInstance`.
    @since 3.14.0
  */
Ember Inspector calls this function to capture the current render tree.
In production mode, this requires turning on `ENV._DEBUG_RENDER_TREE`
before loading Ember.
Ember Inspector calls this function to capture the current render tree . In production mode this requires turning on ` ENV . _DEBUG_RENDER_TREE ` before loading Ember .
function captureRenderTree(app) {
    var env = (0, _util.expect)(app.lookup('-environment:main'), 'BUG: owner is missing -environment:main');
    var rendererType = env.isInteractive ? 'renderer:-dom' : 'renderer:-inert';
    var renderer = (0, _util.expect)(app.lookup(rendererType), "BUG: owner is missing " + rendererType);
    return renderer.debugRenderTree.capture();
  }
function captureRenderTree ( app ) { var env = ( 0 , _util . expect ) ( app . lookup ( '-environment:main' ) , 'BUG: owner is missing -environment:main' ) ; var rendererType = env . isInteractive ? 'renderer:-dom' : 'renderer:-inert' ; var renderer = ( 0 , _util . expect ) ( app . lookup ( rendererType ) , "BUG: owner is missing " + rendererType ) ; return renderer . debugRenderTree . capture ( ) ; }
Ember Inspector calls this function to capture the current render tree.
Ember Inspector calls this function to capture the current render tree .