Live data from Hacker News

Chrome DevTools now uses Gemini to help with JavaScript Errors in the console

developer.chrome.com

11–20 of 81 posts

Re: Chrome DevTools now uses Gemini to help with JavaScript Errors in the console

#12
I recently found the cursor in dark mode to be impossible to see, the autocompletion to be maddening, and the constant change of tab key behavior all to be so frustrating that I ended up instrumenting my own overlay debugging system into a recent single page app using xterm.js.

I'm just really tired of all these hyper opinionated bad corporate tools.

So now after three separate click through agreements you can have Gemini tell you what any google search of the error message itself could have. Notably, because Gemini knows nothing about your server, it can't tell you how to _actually_ fix the problem, just describe it in _slightly_ more detail.

Perhaps they chose the worst possible example, but to jump through all those hoops to end at that very underwhelming response which fails to truly explain the consequences of no-cors does have me giggling.

Re: Chrome DevTools now uses Gemini to help with JavaScript Errors in the console

#15

So does this also consider the JavaScript the browser loaded or is this just a dumb LLM "explain this error message: " prompt? If the latter... Who needs this?

It does use some page context, including related code:

"related source code" https://developer.chrome.com/docs/devtools/console/understan...

Re: Chrome DevTools now uses Gemini to help with JavaScript Errors in the console

#16

I recently found the cursor in dark mode to be impossible to see, the autocompletion to be maddening, and the constant change of tab key behavior all to be so frustrating that I ended up instrumenting my own overlay debugging system into a recent single page app using xterm.js. I'm just really tired of all these hyper opinionated bad corporate tools. So now after three separate click through agreements you can have G…

[deleted]

Re: Chrome DevTools now uses Gemini to help with JavaScript Errors in the console

#18
post #2

What's funny is Prompt injection warning at the bottom. "Many of LLM applications are susceptible to a form of abuse known as prompt injection. This feature is no different. It is possible to trick the LLM into accepting instructions that are not intended by the developers."

Yeah I don’t love the idea of an error being able to prompt inject i to a javascript console, even if it is very sandboxed…
Post reply on HN