Is there any possible way to add devtools for QWebEngine?
-
wrote on 25 Apr 2017, 02:42 last edited by hzqst
I am not able to access url "chrome-devtools://devtools/bundled/inspector.html" in QWebEngineView, It shows error page with ERR_UNKNOWN_URL_SCHEME, is there any idea to open that url? I am going to debug node.js with chrome inspector
ps: I found that browser support devtools(F12) such as NW.js SDK can access "chrome-devtools://", while QWebEngine don't support.
Is there any possible way to add devtools for QWebEngine? -
wrote on 25 Apr 2017, 09:17 last edited by
add code:
qputenv("QTWEBENGINE_REMOTE_DEBUGGING", QByteArray::number(9000))chrome visit:
localhost:9000
2/2