Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dwickern/ember-chrome-devtools

Chrome DevTools addon for Ember.js
https://github.com/dwickern/ember-chrome-devtools

Last synced: about 2 months ago
JSON representation

Chrome DevTools addon for Ember.js

Awesome Lists containing this project

README

        

# ember-chrome-devtools

[![npm version](https://badge.fury.io/js/ember-chrome-devtools.svg)](https://www.npmjs.com/package/ember-chrome-devtools)
[![build status](https://travis-ci.org/dwickern/ember-chrome-devtools.svg?branch=master)](https://travis-ci.org/dwickern/ember-chrome-devtools)

This addon formats Ember objects so that you can see their type and internal state at a glance. No more typing `.get()` into your console!

x

## Installation

1. Install the addon:

```
ember install ember-chrome-devtools
```

(it will not affect your production build)

2. Enable custom formatters in DevTools Settings:


Enable custom formatters

## Running

* `ember serve`
* Visit your app at [http://localhost:4200](http://localhost:4200).

## Running Tests

* `npm test` (Runs `ember try:each` to test your addon against multiple Ember versions)
* `ember test`
* `ember test --server`

## Building

* `ember build`

## Debugging the debugger

It can be helpful to inspect the html created by the formatters. Fortunately you can debug DevTools using a second DevTools instance.

1. Hit Cmd-Alt-I to open DevTools
1. Split DevTools in its own window using the first "Dock side" option:

screen shot 2017-06-30 at 4 30 50 pm

1. With DevTools focused, hit Cmd-Alt-I to open a second DevTools