Devtools unstable on iOS
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- angular, ios, javascript
- 领域
- cli, devtools, mobile-dev
调研方向
从复现步骤中的最小项目开始,使用 app.component.ts 和 ns debug ios 入口点。比较 Chrome DevTools 和 Safari inspector 在网络、元素和控制台输出方面的行为,然后验证预期的选项卡能够正常工作且不会导致应用程序崩溃。
由索引模型根据 Issue 内容生成。
描述
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 7.0.11 (tried
@nextas well) - Cross-platform modules:
7.0.13 - iOS Runtime:
7.0.4(tried7.0.3and7.0.1as well) - XCode Version:
12.1 - Simulator iOS Version:
14.1
Describe the bug
Chrome DevTools do not show any network connection or elements.
Safari's inspector does not even show console.
To Reproduce
ns create devtools-test --ng --blank- Add a http call to
app.component.tsvia Angular'sHttpClientor NativeScript'sHttp. ns debug ios(--inspectorif testing inspector)- Open DevTools link provided by cli (or switch to inspector)
Expected behavior
Expect to see http calls on the network tab, layout on elements tab, and console output on console tab.
Additional context
On a real project, application crashes when DevTools are open opened. Once this issue is reproduced for a minimal project, I can provide more information regarding that if the issue persists.
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 204
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 8
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NativeScript/nativescript-cli 的其他 Issue
-
in-progress
NativeScript/nativescript-cli#6140 · 2 条评论 · 已指派 1 人 ·
-
NativeScript/nativescript-cli#6090 · 已指派 1 人 ·
-
in progress
NativeScript/nativescript-cli#6015 · 1 个 reaction · 已指派 1 人 ·
-
question
难度 4/5 3-5 天 新手友好度 48/100
NativeScript/nativescript-cli#5992 · 5 条评论 ·
-
feature-pending-triage
难度 4/5 3-5 天 新手友好度 35/100
NativeScript/nativescript-cli#5975 ·
查看 NativeScript/nativescript-cli 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 70/100
babalae/bettergi-scripts-list#3674 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
vadimdemedes/ink#1029 ·
-
code-quality refactoring
难度 2/5 1-3 小时 新手友好度 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
难度 2/5 1-3 小时 新手友好度 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
难度 2/5 1-3 小时 新手友好度 86/100
githubnext/gh-aw-cao#13143 ·