Hello, I am having errors in my Ionic App.
I'm running
ionic cordova run android --livereload --consolelogs --serverlogs
with a physical phone.
As you can see I'm able to see console.logs, but there must be an error that is creating the
[console.error]: "ERROR" {}
But it doesn't explain anything! There is no error logs or stack trace error. I don't have any console.error in my code, so it must be an unhandled error somewhere...
Has anybody experienced something like this? I don't know what to do.
Thank you.
2条答案
按热度按时间42fyovps1#
我发现了chrome://inspect/#个设备。
使用inspect,它可以完美地显示错误日志。
i5desfxk2#
在iOS上通过Xcode运行离子应用程序时出现了同样的问题。
在这种情况下,可以使用safari检查webview,并显示
--consolelogs
未显示的javascript错误。要打开javascript控制台,您必须:
Develop
〉Your Iphone name
〉localhost