    const ch = new MessageChannel();
        ch.port2.onmessage = (event) => {
            if (event.data.port) {
                console.log("port passed to parent:", event.data);
                window.parent.postMessage(event.data, "*", [event.data.port]);
            }
        };
        const url = new URL(window.location.href);
        const scheme = url.protocol.replace(":", "");
        require(['vs/workbench/workbench.web.main'], function (wb) {
            const config = {
                messageP