Search code examples
google-chrome-devtoolsnativescript

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.


Solution

  • 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.