Coder Social home page Coder Social logo

eifoshm / sublimewebinspector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sokolovstas/sublimewebinspector

1.0 1.0 0.0 872 KB

Web Inspector allow you debug Javascript right in the editor

Home Page: http://sokolovstas.github.com/SublimeWebInspector

sublimewebinspector's Introduction

Sublime Web Inspector (SWI)

Sublime Web Inspector works on top of WebInspectorProtocol. All information is displayed in console and text files. You can click on objects from console or stack trace to evaluate them. You can also click on a file name to goto the file and line instantly. All clickable zones have borders to simply vizualize them.

You can add feature requests or bugs to https://github.com/sokolovstas/SublimeWebInspector/issues

Thanks XDebug Authors for inspiration

Installation

Execute the following command in your Sublime Packages folder: git clone git://github.com/sokolovstas/SublimeWebInspector.git Web\ Inspector

I will prepare a plugin to Package Manager after additional testing

Features

  • Breakpoints for project stored in user settings with absolute paths.
  • Console.
  • Debugger steps and breakpoints.
  • Stack trace.
  • You can see object properties and values in console and stack trace.

Commands

You can find all commands in the "Sublime Web Inspector" namespace. Here is a complete list:

Command for controlling debugger

  • swi_debug_resume: Resume from pause
  • swi_debug_step_into: Step into debugger
  • swi_debug_step_out: Step out debugger
  • swi_debug_step_over: Step over debugger
  • swi_debug_evaluate: Evaluate selection (if paused on call frame)

Breakpoints

  • swi_debug_breakpoint: Add remove breakpoints

Page

  • swi_debug_reload: Reload connected page

Start-stop

  • swi_debug_start: Start debugger
  • swi_debug_stop: Stop debugger

Utils

  • swi_debug_start_chrome: Start Google Chrome
  • swi_show_file_mapping: Show mapping local file to url

Settings

You can change layouts for the debugger, color options, and path to Google Chrome in settings.

Additional Notes

Close Google Chrome before you run it in remote debugger mode.

sublimewebinspector's People

Contributors

buzzedword avatar grrowl avatar hugogrochau avatar jlaird avatar sokolovstas avatar thehippo avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.