Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4829

Access ENV object from the console

$
0
0

@paulyoder wrote:

I’m trying to debug an issue with a setting value on the ENV object set in the environment.js file but I don’t know how to access the ENV object from the console.

I see that EmberENV object is available, but the setting I’m looking at is on the ENV.APP object.

For example, I’m trying to see the value for the ENV.APP.mySetting property below:

let ENV = {
  ...
  APP: {
    mySetting: 'someValue'
  }
}

What’s the easiest way to see that setting from the console?

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles