@mallory_cormier
To inspect Ember.js objects in the console, you can use the Ember.inspect()
method.
Here's how you can do it:
- Open your web browser's developer tools (usually by right-clicking on the page and selecting "Inspect" or pressing F12).
- Navigate to the Console tab in the developer tools.
- Access the Ember.js object you want to inspect. For example, you can access a controller by typing App.__container__.lookup('controller:your_controller_name').
- Once you have the object, you can inspect it by calling Ember.inspect() on it. For example, you can type Ember.inspect(yourObject) in the console.
This will display the object in a more readable format in the console, allowing you to see its properties and values more clearly.