All Projects → rangle → Augury

rangle / Augury

Licence: mit
Angular Debugging and Visualization Tools

Programming Languages

typescript
32286 projects
HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Augury

Clockwork Chrome
Clockwork - php dev tools integrated to your browser - Chrome extension
Stars: ✭ 415 (-79.76%)
Mutual labels:  debugging, devtools
netlogs
Web extension for debugging your API
Stars: ✭ 16 (-99.22%)
Mutual labels:  debugging, devtools
Nim
Streamline Your Node.js Debugging Workflow with Chromium (Chrome, Edge, More) DevTools.
Stars: ✭ 168 (-91.8%)
Mutual labels:  debugging, devtools
devtools-tips
A collection of useful cross-browser DevTools tips
Stars: ✭ 81 (-96.05%)
Mutual labels:  debugging, devtools
Compodoc
📔 The missing documentation tool for your Angular, Nest & Stencil application
Stars: ✭ 3,567 (+74%)
Mutual labels:  devtools, angular2
InAppDevTools
Android library with a collection of tools for debugging, inspecting and reporting from within your own app
Stars: ✭ 26 (-98.73%)
Mutual labels:  debugging, devtools
clockwork-firefox
Clockwork - php dev tools integrated to your browser - Firefox add-on
Stars: ✭ 22 (-98.93%)
Mutual labels:  debugging, devtools
Clockwork
Clockwork - php dev tools in your browser - server-side component
Stars: ✭ 4,076 (+98.83%)
Mutual labels:  debugging, devtools
Ndb
ndb is an improved debugging experience for Node.js, enabled by Chrome DevTools
Stars: ✭ 10,581 (+416.15%)
Mutual labels:  debugging, devtools
Graphql Toolkit
A set of utils for faster development of GraphQL tools
Stars: ✭ 169 (-91.76%)
Mutual labels:  devtools
Redux Devtools Extension
Redux DevTools extension.
Stars: ✭ 13,236 (+545.66%)
Mutual labels:  devtools
Hydrafw
HydraFW official firmware for HydraBus/HydraNFC for researcher, hackers, students, embedded software developers or anyone interested in debugging/hacking/developing/penetration testing
Stars: ✭ 165 (-91.95%)
Mutual labels:  debugging
Mininote
📔 A simple Markdown note-taking editor
Stars: ✭ 171 (-91.66%)
Mutual labels:  devtools
Prosemirror Dev Tools
Developer Tools for ProseMirror
Stars: ✭ 167 (-91.85%)
Mutual labels:  devtools
Devtools
📋 DevTools to help debug forms.
Stars: ✭ 171 (-91.66%)
Mutual labels:  devtools
Angular Google Maps
Angular 2+ Google Maps Components
Stars: ✭ 1,982 (-3.32%)
Mutual labels:  angular2
Dev Tips Tracker
Issue tracker for Dev Tips
Stars: ✭ 163 (-92.05%)
Mutual labels:  devtools
Angular Truffle Starter Dapp
Angular CLI + Truffle Starter Dapp; write, compile & deploy smart contracts on Ethereum blockchains
Stars: ✭ 174 (-91.51%)
Mutual labels:  angular2
Spirv Vm
Virtual machine for executing SPIR-V
Stars: ✭ 173 (-91.56%)
Mutual labels:  debugging
Lightproxy
💎 Cross platform Web debugging proxy
Stars: ✭ 2,347 (+14.49%)
Mutual labels:  devtools

Angular DevTools

With the release of Angular DevTools, Augury is not being maintained. Please download Angular DevTools from Chrome Web Store and use rangle/angular-devtools repo to log any issues.

Read More about the release:

Augury

Circle CI Slack Status

Check out the Augury Labs project for new experimental Angular developer tools.

Table of content

  1. Introduction
  2. Supported version
  3. Working on Augury
  4. Building and installing locally
  5. Running tests
  6. Reporting issues
  7. Contributing
  8. Known issues

Introduction

Augury is a Chrome & Firefox Developer Tools extension for debugging Angular 2+ applications.

You can install the extension from:

You may also install our Canary Build for Chrome to try out new features and bug fixes, and help us with user acceptance testing.

Inspecting Code

Augury only works with Angular 2+ applications. A hard requirement is that the Angular application is running in development mode, this is due to a security restriction. If you plan to read the original source code, it is a good idea to generate source maps. Otherwise you will be forced to work with the compiled JavaScript code.

Supported version

Augury works with application built starting with Angular 2+. Augury currently does not have support for Angular Ivy as of Augury v1.


Working on Augury

Development environment

To develop the Augury extension, the following environment is used:

  • Node
  • NPM
  • TypeScript

Building and installing locally

To install Augury locally, perform the following steps:

git clone git://github.com/rangle/augury
cd augury
npm install
npm run build:dev

Try out the extension with one of the example app from the Guide.

Chrome

  1. Navigate to chrome://extensions and enable Developer mode.
  2. Choose "Load unpacked extension".
  3. In the dialog, open the directory you just cloned.

Firefox

  1. Navigate to about:debugging#addons to load add-on.
  2. Click Load Temporary Add-on
  3. In the dialog, open the directory you just cloned, and select the manifest.json file.

Running tests

Automated testing

To execute all unit tests, run npm test. It bundles up all files that match *.test.ts into build/test.js, then runs it through tape-run in a headless Electron browser.

Manual Testing

If you currently have the Augury extension installed from the Chrome Web Store or Firefox Add-ons, you can manually test your change by switching between your local dev production and production version of Augury in the extension window of your browser. Only one version of the tool should be active at a time.

Available NPM scripts

To see all available script type npm run in the terminal. The following command are the ones you will mostly be working with.

Command Description
start Clean build and run webpack in watch mode
webpack Runs webpack in watch mode
build Builds the extension
clean Clean the build directory,
test Bundle all *.test.ts and run it through a headless browser
lint Run tslint on all source code
pack Packages the extension for browser specific builds

Reporting issues

Please search to make sure your issue is not already been reported.

You should report an issue directly from Augury, by clicking on the Augury icon next to the address bar in the browser. It will open up a popup menu with a link to Issue reporting.

Image Issue reporting

Contributing

General guidelines

If you'd like to help out, please read our Contributing Guidelines.

Augury Architecture

You might want to first checkout the Architecture of this extension.

Join on Slack

If you want to contribute or need help getting started, join us on Slack.


Known issues

Router graph

The router injection technique described below applies to version before those listed below:

Angular v2.3.0
Angular Router v3.3.0
Augury v1.2.8

To be able to view the router graph, you will need to inject the Router in the application Root component as shown below (it must be named router exactly).

export default class KitchenSink {
  constructor(private router: Router) {
  }
}

Example code

Support for AoT (Ahead-Of-Time) compilation

In order for Angular to expose the debug information for AoT applications, you will have to explicitly set the debug flag to true in your project's tsconfig.json as such:

"angularCompilerOptions": {
  /* ... */
  "debug": true
}

Note: This debug flag and development mode in Angular runtime are two completely different settings.

To learn more about AoT compilation, visit this section of Angular documentation.

Support for enableDebugTools()

Prior to Angular 2.2.0, enableDebugTools() would clobber ng.probe, which breaks Augury. Prior to that version, this workaround will circumvent the issue.

No state for some components

The date polyfill core-js/es6/date can throw an exception when stringifying a component. To workaround this issue, exclude this polyfill in your development environment.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].