Skip to content

nerdpruitt/marionette.inspector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

![Gitter](https://badges.gitter.im/Join Chat.svg)

Marionette Inspector

Download it now!

Chrome Web Store

A tool for good

The Inspector complements the console, elements, and sources tab as a trusty companion as you build out your Marionette Apps.

You can use the Inspector to see what's going on under the hood with your ui, data, messages, and network.

Of course, there's also a helpful 🔍 as well.


Getting Started

The inspector should work out of the box with most setups.

Using webpack

If you're using webpack you have to expose the modules Backbone and Marionette to the global context (so they are available in window):

  1. Install expose loader for webpack
npm install expose-loader
  1. Change your require calls to
require('expose?Backbone!backbone');

and

require('expose?Marionette!marionette');
Misc

If you're not setting Backbone and Marionette on the window or using define, you'll need to start the inspector manually.

Add this line before your Marionette Application is instantiated.

__agent.start(Backbone, Marionette);

Developing Locally

Install Guide


Special Thanks

Etsy - The Inspector has largely been built as an open-source project at Etsy.

Backbone-Debugger - The Inspector is built on top of the Backbone Debugger core, written in large part by @Maluen.

About

Marionette Inspector

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.1%
  • CSS 2.9%