Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

chrome debugger: clicking exception link in console opens file in new tab instead of cross-linking into source file

I have the chrome debugger open showing both the console and the sources tab. I am debugging a meteor.js application and am getting an exception in the console that displays a file link with a line number in the stack trace.

stack trace and chrome window configuration

I swear when I used to click these it would cross-link to the specific line within the sources tab. But now it is simply just opening the file in a new tab in chrome:

file opened in new tab

I am using coffee-script and have source maps enabled, and doing this all within the latest Ubuntu LTS and Chrome beta.

like image 511
funkyeah Avatar asked Feb 22 '15 23:02

funkyeah


People also ask

How do I make Chrome Developer Tools open by default?

On opening the developer tools, with the developer tools window in focus, press F1 . This will open a settings page. Check the "Auto-open DevTools for popups". This worked for me.

How do I turn off auto debug in Chrome?

Go to the "Sources" tab. At the top right hand side, toggle the button that looks like the pause symbol surrounded by a hexagon (button on the far right) until the color of the circle turns black to turn it off. If the pause symbol isn't blue it may be that you've accidentally marked a line for debugging inspection.

How do I enable console debugging in Chrome?

The Sources panel is where you debug JavaScript. Open DevTools by pressing Command+Option+I (Mac) or Control+Shift+I (Windows, Linux). This shortcut opens the Console panel.


1 Answers

The Meteor folks are working on this: http://github.com/meteor/meteor/issues/3655

like image 143
Gaelan Avatar answered Nov 12 '22 04:11

Gaelan