Developer Tools hang when in localhost

Description of the issue:
When opening the developer tools on a localhost url for development work, the dev tools open but then hang, it stops responding to any clicks anywhere. The website itself still works, it’s just the dev tools that hang. This happens on different codebases (for example a nextjs based website, and a bigcommerce Stencil based one). These both worked fine until recently, few days ago, and I’m on the latest update. The dev tools work fine on non-localhost websites.

How can this issue be reproduced?

  1. Run an example app locally, such as a nextjs app.
  2. Open it’s url in Brave such as http://localhost:3000
  3. Open the dev tools
  4. Try to switch to sources, console, inspect an element, etc. No response to any action.

Expected result:
The browser switches to the corresponding clicked on tab, and inspecting an element shows its css.

Brave Version( check About Brave):
1.76.74

Additional Information:
I’m on a Macbook Pro M2Pro 32GB with OS Ventura 13.2

Have you tried:

  • http://127.0.0.1:3000
  • ws://localhost:3000

https://stackoverflow.com/questions/33524826/localhost-not-working-in-chrome-127-0-0-1-does-work


Also, Exit / Quit everything and restart the Mac, before trying.

Thank you 289wk, deleting the domain for localhost under chrome://net-internals did it.
Much appreciated.

1 Like