How to remote debug the CEF running in the webrenderTOP class?

I see we can pass in flags using the Options param, so I tried passing in:
“–remote-debugging-port=9222”

It seems to successfully allow me to open http://localhost:9222 in a browser, and it also successfully lists the page the webrenderTOP is rendering. But when clicking on the specific page to open the debug tools, the websocket connection for the remote tools is just immediately disconnected.

Is there something else I should be doing to allow for remote debugging?
I’m using TouchDesigner 64-Bit Build 2023.12230 running on Windows 11 with an Intel Ultra 9 185H

Thanks!

It seems for some reason even though it was mentioned here in this thread that you only need to use the --remove-debugging-port flag it should work:

However this was just showing “WebSocket Disconnected” for me after opening the debug tools.

I found a fix by adding an additional flag “–remote-allow-origins=*” in the Options param, and that seems to allow the remove debugging to connect.

Not sure if this is the case for everyone or if it’s something specific for the computer/setup I’m using, but wanted to post a potential solution in case anyone else has this issue.