Batarangle is a Google Chrome Dev Tools extension for debugging Angular 2 applications. Treat this as a "developer preview". We expect to release the first version soon after Angular 2 beta is out. Until then, please follow instructions below to build the tool locally and install it from source. It's actually quite easy.
If you want to contribute or need help getting started, join us on Slack by filling in this form.
To develop this extension the following environment is used
- Node v4.2.1
- NPM 3.3.10
- TypeScript 1.6.2
- tsd 0.6.5
In addition, example applications all run with a globablly installed version of jspm 0.16.12
- Clone this repository:
git clone git://github.com/rangle/batarangle
. - Run
npm install
. - Run
npm run build
(errors related to typing files conflicts can be ignore for now). - Navigate to chrome://extensions and enable Developer Mode.
- Choose "Load unpacked extension".
- In the dialog, open the directory you just cloned.
To try out with an example application, refer to instructions in README
build
Build the extensionwebpack
Run webpackclean
Cleannode_modules
andtypings
,remove-tsd-loader-typings
Remove tsd loader typingstsd-update
Update tsdpostinstall
Update tsd and install/link typingsstart
Clean build and run webpack in watch mode
More information about the architecture of this extension can be found in the docs folder of this repo.