Hi
I am successfully attaching to my main window, that I create, and setting things up before it starts running.
But when my main window happens to create a popup (with window.open, or in a link with target="_blank"), the only way I see to be notified is via Target.targetCreated, and then it is too late for me to attach and doing my setup *before* the page loads.
There is Target.setAutoAttach but according to
this thread it doesn't work for popups.
Is there any way to attach to a popup before it loads? maybe some way to have "every new target starts with the debugger paused"? Or anything at all?
thanks a lot!