本文介绍了Chrome Devtools作为搜索打开,而不是开发工具本身打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试运行Nativescript调试会话,并且每次输入

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

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

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

它打开一个Google搜索而不是调试会话.

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.

推荐答案

URL方案最近在.重新发布了NativeScript CLI v7,以更正此微小更改.

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

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

这篇关于Chrome Devtools作为搜索打开,而不是开发工具本身打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-27 02:59