Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome Devtools opens as a search rather then the dev tools themselves

Trying to run a Nativescript debug session and every time I enter

chrome-devtools://devtools/bundled/inspector.html?experiments=true&ws=localhost:41000

it opens a google search rather than the debug session.

https://www.google.com/search?q=chrome-devtools%3A%2F%2Fdevtools%2Fbundled%2Finspector.html%3Fexperiments%3Dtrue%26ws%3Dlocalhost%3A41000&oq=chrome-devtools%3A%2F%2Fdevtools%2Fbundled%2Finspector.html%3Fexperiments%3Dtrue%26ws%3Dlocalhost%3A41000&aqs=chrome.0.69i59j69i60j69i61.1074j0j7&sourceid=chrome&ie=UTF-8

Any ideas how to fix this please.

like image 305
MrWrighty Avatar asked May 28 '20 14:05

MrWrighty


People also ask

How do I enable dev tools in Chrome?

To open the developer console in Google Chrome, open the Chrome Menu in the upper-right-hand corner of the browser window and select More Tools > Developer Tools. You can also use Option + ⌘ + J (on macOS), or Shift + CTRL + J (on Windows/Linux).

How do I fix Chrome developer tools?

# Open the Issues tabOpen DevTools. Click the Go to Issues button in the yellow warning bar. Alternatively, select Issues from the More tools menu. Once you're on the Issues tab, click the Reload page button if necessary.

How do I make Chrome Developer Tools open by default?

In Chrome, pressing the F12 key or Ctrl + Shift + I (or Command + option + I on a Mac) also brings up the interactive developer tools.


1 Answers

The URL scheme was recently changed to just devtools:// in chromium. The NativeScript CLI v7 has been rereleased to correct this minor change.

Use devtools://devtools/bundled/inspector.html?experiments=true&ws=localhost:41000.

like image 178
Ian MacDonald Avatar answered Sep 19 '22 17:09

Ian MacDonald