Skip to content

Releases: sokolovstas/SublimeWebInspector

Fix goto line

09 Mar 17:02
Compare
Choose a tag to compare
Fix goto line Pre-release
Pre-release

Bug fix #105: Click on a file name + line open the file but not goto to the line

Fixes to reload, script load, and restart debugging

18 Oct 20:14
Compare
Choose a tag to compare
  • Fix pause after reload page command
  • Fix rebinding breakpoints when restarting debugging
  • Fix binding breakpoints in generated (raw) file when source maps are enabled but mapped file cannot be found
  • Fix rebinding breakpoints on script load

Fix overlay on setScriptSource

18 Oct 05:19
Compare
Choose a tag to compare

Add 'enable_pause_overlay' setting, default true
When saving updated script text, ignore the empty callstack WebKit may return.

Map to loose open files as well as open folders

02 Sep 16:55
Compare
Choose a tag to compare

Feature

  • When searching to map local files, as well as looking in the currently opened folder, look in the folders containing any opened files as well. It is no longer necessary to open the website as a folder in Sublime.

Bugs

  • Fix failure to identify source map file comment when the Javascript file line ends in a newline
  • Remove redundant entries from the list of folders to search for file
    mappings. As we search recursively, we only need topmost folders.
    For example, if folder c:\foo is open in sublime, and also files
    c:\foo\bar.js, c:\foo\baz\biz.js, and c:\zap, we should boil down to
    c:\foo and c:\zap.
  • Improve logging for globbing. To enable, set "debug_mode": "true" in your web inspector package settings. Logging is in sublime console.
  • Break out of search for matching file when we found one

Add logging for file mappings

01 Sep 05:18
Compare
Choose a tag to compare

Add logging for file mappings. To enable, set "debug_mode": "true" in your web inspector package settings. Logging is in sublime console.

Logging includes

  • attempts to map URLs to local file paths
  • looking for source map comment
  • loading and parsing source map
  • loading authored source pointed to by map

First release of Source Map support

31 Aug 00:47
Compare
Choose a tag to compare

To debug original sources, Web Inspector must find a "//# sourceMappingURL=" comment at the end of the JavaScript file. That comment must contain a relative path to a local source map file. The source map must in turn have path(s) to original source files.

If things aren't working -- check for error messages in the Sublime console. Or, disable source maps from the menu ("Toggle Authored Code")

If you set a breakpoint in the generated code, it will not appear, but will be set in the original ("authored") code.

Fixes a bug in scope window

26 Aug 21:19
Compare
Choose a tag to compare
Pre-release

Show correct line numbers in scope window when debugging source-mapped files

More fixes to source maps

18 Aug 06:14
Compare
Choose a tag to compare
Pre-release

Invalid source maps and related fixes and tests.

Fix double click not selecting by words

05 Aug 02:38
Compare
Choose a tag to compare

Bug fixes

02 Aug 06:23
Compare
Choose a tag to compare

Make file/line in scopes clickable
Make F5 (F8) launch default URL if port not found, or start debugging if there's a port and only one URL to debug

Fix broken scope navigation
Fix callback leak
Fix opening 2nd browser tab on start
Fix opening File Mapping tab on start
Fix double clicking on "buttons"
Hide spurious errors