diff --git a/src/components/LspProvider.tsx b/src/components/LspProvider.tsx index d4af556fb..c437ac1b2 100644 --- a/src/components/LspProvider.tsx +++ b/src/components/LspProvider.tsx @@ -94,6 +94,7 @@ export const LspProvider = ({ children }: { children: React.ReactNode }) => { // But the server happens async so we break this into two parts. // Below is the client and server promise. const { lspClient: kclLspClient } = useMemo(() => { + console.log('lsp token', token) if (!token || token === '' || TEST) { return { lspClient: null } } diff --git a/src/editor/plugins/lsp/worker.ts b/src/editor/plugins/lsp/worker.ts index 9c6eedf83..8a5971c14 100644 --- a/src/editor/plugins/lsp/worker.ts +++ b/src/editor/plugins/lsp/worker.ts @@ -63,6 +63,7 @@ onmessage = function (event) { let { wasmUrl }: KclWorkerOptions | CopilotWorkerOptions = eventData as | KclWorkerOptions | CopilotWorkerOptions + console.log('Worker: Initialising', worker, wasmUrl) initialise(wasmUrl) .then((instantiatedModule) => { console.log('Worker: WASM module loaded', worker, instantiatedModule)