auto-dev-vscode 调试React页面方法 #94
a793181018
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Autodev-vscode React页面代码调试
1.在vscode的插件宿主进程中打开开发者工具如图

按快捷键Ctrl+Shift+P打开命令输入栏,输入:

Developer:OpenWebView Developer Toos,如下图
在WebView开发人员工具中的控制台中寻找Log日志,建议Log日志输出带上特殊前缀,以便于使用控制台日志过滤选项,屏蔽其他干扰调试的日志,例外,Ts插件层的输出也会出现在这个控制台日志中可以通过不同的前缀来区分ts插件层和React页面层的Log日志

Beta Was this translation helpful? Give feedback.
All reactions