Is there any possible way to add devtools for QWebEngine?



  • 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?



  • add code:
    qputenv("QTWEBENGINE_REMOTE_DEBUGGING", QByteArray::number(9000))

    chrome visit:
    localhost:9000


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.