Tutorial: Window.inspectSharedWorker

Window.inspectSharedWorker

Opens the developer tools for the shared worker context.

Example

    const winOption = {
        name:'child',
        defaultWidth: 300,
        defaultHeight: 300,
        url: 'http://mdn.github.io/simple-shared-worker/index2.html',
        frame: true,
        autoShow: true
    };
    const win = await fin.Window.create(winOption);
    await win.inspectSharedWorker();