When the SharedWorker mode is enabled, access the URL below (for Chrome) and click the "inspect" link of the worker to show the console log emitted from the worker.
chrome://inspect/#workers

Files

{#each editorFiles as file (file.name)}

{file.name}