Releases: sokolovstas/SublimeWebInspector
Fix goto line
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
- 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
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
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
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
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
Show correct line numbers in scope window when debugging source-mapped files
More fixes to source maps
Invalid source maps and related fixes and tests.
Fix double click not selecting by words
Sorry about that.
Bug fixes
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