Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open console source mapped file in external editor

When you use source maps on errors, the Chrome Developer Tools console shows links to the source file.

Is there a way to open these links in an external application (editor)?

For instance, on click or CTRL+click or...

like image 694
smhg Avatar asked Jun 23 '13 11:06

smhg


People also ask

How do I open the console under source?

Press Control + Shift + J or Command + Option + J (Mac). To open the Console from the Command Menu, start typing Console and then run the Show Console command that has the Panel badge next to it.

How do you save an entire folder from Google Chrome's developer tools Sources tab?

Just do right click -> save as html -> in type select (complete webpage).

How do I edit HTML in Chrome dev tools?

By right-clicking on the HTML in the “Elements” tab and selecting “Edit as HTML,” you can make live edits to the markup of a webpage that Chrome will immediately render once you're done editing.


2 Answers

Unfortunately, this isn’t possible yet.

Here are some links that may help:

  • http://sokolovstas.github.io/SublimeWebInspector/
  • https://developers.google.com/web/tools/setup/setup-workflow?hl=en
  • https://www.sitepoint.com/edit-source-files-in-chrome/
  • https://gregrickaby.com/2013/07/turn-chrome-developer-tools-into-an-ide/
  • Sublime text 3 and Web Inspector plugin
  • https://medium.com/google-developers/devtools-tips-for-sublime-text-users-cdd559ee80f8#.wck48zrkz
like image 56
Kirk Strobeck Avatar answered Sep 21 '22 00:09

Kirk Strobeck


Possible in 2020 using Intellij (IDE in my case).

  1. Install "Open in Intellij" extension (Chrome)
  2. Configure as here in docs https://github.com/bernhardc/open-in-intellij

Worked like a charm.

like image 41
Elmatsidis Paul Avatar answered Sep 20 '22 00:09

Elmatsidis Paul