fetchSourceMap(stackStr) {
    if (
      this.emberCliConfig &&
      this.emberCliConfig.environment === 'development'
    ) {
      return this.sourceMap.map(stackStr).then(
        (mapped) => {
          if (mapped && mapped.length > 0) {
            let source = mapped.find(
              (item) =>
                item.source &&
                !!item.source.match(
                  new RegExp(this.emberCliConfig.modulePrefix),
                ),
            );

            if (source) {
              source.found = true;
            } else {
              source = mapped[0];
              source.found = false;
            }
            return source;
          }
        },
        null,
        'ember-inspector',
      );
    } else {
      return Promise.resolve(null);
    }
  }
Checks if ember-cli and looks for source maps.