Skip to content

adderall/SidecarDevTools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sidecar Debugger Tool

Copyright 2015 SugarCRM

This is an Google Chrome devtools extension that will help you to be more productive when developing on Sugar 7.x. Based on the backbone devtools project by Tomasz Szczęśniak-Szlagowski.

Installing

  1. Clone this repo
  2. Go to Tools -> Extensions in Google Chrome
  3. Check Developer mode and click Load unpacked extension
  4. Go to the cloned repo directory and choose the 'src' folder.

Using

  1. Once in your SugarCRM instance, open Chrome devtools.
  2. Click on the new tab called SugarDebug.
  3. Check the checkbox "Start Sidecar Debug Mode" in the "Settings tab".
  4. Enjoy!

Developing the Sidecar Dev Tool

Requirement:

You need to have installed: node.js, handlebars and sass

Steps:

  1. Once the extension is installed, navigate to the repo folder (SidecarDevTools) via terminal.
  2. Run 'npm install'
  3. Run 'grunt' to watch templates and scss files and automatically compile them.

Contributing:

See CONTRIBUTING for how you can contribute changes back into this project.

Features

  • $view console variable after inspecting a DOM Element (it points to the closest parent Sidecar Component).
  • In SugarDebug Panel, you will find different several tabs:
    • Application Stream: A timeline of what is happening in the app. It shows the methods that are called and the events that are triggered. For each of them, you have access to the passed arguments and the component object.
    • Structure: A hierarchical tree representing the Sugar components of the current page.
    • Render times: Allows you to measure the render duration of the different fields.
    • Generate records: An easy way to generate records in your SugarCRM instance.

Notes

This extension is based on the backbone-devtools extension.

About

Browser extension for Sugar 7 Sidecar framework development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 75.9%
  • CSS 16.7%
  • HTML 7.4%