尝试运行 Nativescript 调试会话,每次输入 时都会出现问题。
chrome-devtools://devtools/bundled/inspector.html?experiments=true&ws=localhost:41000
它打开的是谷歌搜索而不是调试会话。
请问如何修复这个问题。
chrome-devtools://devtools/bundled/inspector.html?experiments=true&ws=localhost:41000
它打开的是谷歌搜索而不是调试会话。
请问如何修复这个问题。
devtools://
。NativeScript CLI v7已重新发布以更正此次微小更改。使用devtools://devtools/bundled/inspector.html?experiments=true&ws=localhost:41000
。当我尝试使用@IanMacDonald的答案时,遇到了ERR_INVALID_URL错误。
出于某种原因,先不带参数导航到URL,可以正常加载开发工具。
devtools://devtools/bundled/inspector.html
然后在之后添加参数可以让调试会话再次正常工作。
?experiments=true&ws=localhost:40000
希望这能对 @Przemo 有所帮助。在随机的网站上打开检查器,然后使用Nativescript检查器打开它,自从最新版的Chrome发布以来,这个问题就被解决了。
chrome-
前缀已在 https://crrev.com/748242 中被移除。 - wOxxOm