Live data from Hacker News

Updates to DevTools in Chrome 62

developers.google.com

31–40 of 40 posts

Re: Updates to DevTools in Chrome 62

#31
post #29
post #26

I actually prefer the Firefox dev tools these days. One thing that I really like is the edit and resend functionality[0]. Quite useful when quickly testing API calls. I know you can use other tools in Chrome to do the same, but I like that it’s built in. Good to see improvements in the Chrome dev tools nonetheless! [0] https://developer.mozilla.org/en-US/docs/Tools/Network_Monit...

I like Firefox too, but chrome still displays JSON objects in the console very nicely. I haven't found a good way to do this in FF yet. Do you know of a way?

IDK man, afaik there's no way to prettify API responses in a Response tab.

Re: Updates to DevTools in Chrome 62

#32
post #29
post #26

I actually prefer the Firefox dev tools these days. One thing that I really like is the edit and resend functionality[0]. Quite useful when quickly testing API calls. I know you can use other tools in Chrome to do the same, but I like that it’s built in. Good to see improvements in the Chrome dev tools nonetheless! [0] https://developer.mozilla.org/en-US/docs/Tools/Network_Monit...

I like Firefox too, but chrome still displays JSON objects in the console very nicely. I haven't found a good way to do this in FF yet. Do you know of a way?

If it is a GET request, just open it in a new tab. Firefox has a built-in json viewer (no extensions required).

Eg. open this in a new tab: http://httpbin.org/get

Re: Updates to DevTools in Chrome 62

#33

Earlier quoted context omitted.

Yes, and Dropbox (& others might too) offers to listen to PrtScr and save in Dropbox/Screenshots as image automatically, without using paint or anything.

But dropbox doesn't save automatically when you use the snipping tool. Is there any way to make that happen?

https://github.com/ShareX/ShareX

Re: Updates to DevTools in Chrome 62

#34

Hey fellow HN'ers, I recently discovered you can select source in this (windows) terminal-like fashion by holding alt (i.e. https://imgur.com/a/XnCSd ). Does anyone know what is the purpose of this feature? I always disliked how difficult is to select something on windows cmd, this seems like anti-feature for me, but obviously I am missing something.

many text editors have that feature, while might be not that widely used or useful, it's still ported and implemented in many of them

Re: Updates to DevTools in Chrome 62

#35
post #11

Earlier quoted context omitted.

I imagine this will be useful for taking screenshots of arbitrary elements via the headless mode. Anyway, why would it be harder to take screenshots in Windows? Have they restricted the Win32 API recently (I haven't kept tabs)?

I think he is referring to how on windows you can only screenshot the entire screen. Not sure if that has changed in recent years.

You can totally screenshot anything anyway you like on windows. The only difference is that windows has separate utility for this instead of a shortkey

Re: Updates to DevTools in Chrome 62

#36
I continuously struggle with debugging aspx with embedded JavaScript. Breakpoints can't be set on any line and I still haven't figured out the logic why and when stepping through the highlighted line is never the one that is actually running. Even after expanding the code with the { } button. It's just simple JS so no code maps should be needed.

Re: Updates to DevTools in Chrome 62

#39

Starting to think maybe it would be good to have a "DevTools" lite, now that there are literally dozens of tabs and pages. Is there a shortcut to just bring up the console?

ctrl+shift+j goes directly to console. I believe ctrl+shift+i goes to whatever tab you were at last, and ctrl+shift+c goes to the element tab and enables the element selector. I don't know if there's any other shortcuts but these are the one I use most often. You can also drag the various tabs to order them the way you like.

Correct, Control+Shift+J (Windows, Linux) or Command+Option+J (Mac) opens DevTools and focuses the Console panel.

Re: Updates to DevTools in Chrome 62

#40

Hey fellow HN'ers, I recently discovered you can select source in this (windows) terminal-like fashion by holding alt (i.e. https://imgur.com/a/XnCSd ). Does anyone know what is the purpose of this feature? I always disliked how difficult is to select something on windows cmd, this seems like anti-feature for me, but obviously I am missing something.

column mode, very useful
Post reply on HN