1

When using the QtWebEngine, you can enable the chromium debug dev tools with setting the QTWEBENGINE_REMOTE_DEBUGGING environment variable. Normally Chromium creates a DevToolsActivePort file, which contains the information about the debug port. However when using the QtWebEngine, this file is not created. How can I make Qt/Chromium create this file?

7
  • Why do you want the file? Commented Jul 9, 2022 at 18:10
  • To get the debug port and websocket address. Commented Jul 9, 2022 at 22:34
  • Set the port to whatever you like. See this answer. Commented Jul 10, 2022 at 0:23
  • The tricky part is the websocket address since it contains a GUID. While I found a workaround (see this answer), the general question still stands. Commented Jul 10, 2022 at 0:43
  • What evidence do you have that chromium "normally" creates this file? The relevant part of the source code noted in your other question suggests this is not the case: it's only written if the output_directory is set, which comes from a command-line argument specific to Torque; there's no default if the option isn't set. But in any case, you still haven't given a valid reason why you would need this file, since the information can already be obtained by other means. Commented Jul 10, 2022 at 10:39

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.