Forum Discussion
Error with notebook debugging is vs code.
Hi v-hashadapu,
Thank you for your response.
Thank you for your response.
I tried running the VS Code debugger while connected to a personal hotspot, and I now get a different error. The popup still shows:
Initializing Fabric Data Engineering PySpark debug session. This can take a few minutes.
But in the logs I see:
2025-09-01 09:18:17.181 [error] Error: command 'synapse-remote.internal.extensionIsReady' not found at kKe.n (vscode-file://vscode-app/c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1251:3892) at kKe.executeCommand (vscode-file://vscode-app/c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1251:3824) 2025-09-01 09:18:34.742 [error] TypeError: Cannot read properties of undefined (reading 'split') at Object.provideFileDecoration (c:\Users\tgk\.vscode\extensions\synapsevscode.synapse-1.15.0\dist\extension\extension.js:210581:41) at file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:119:4588 at Array.map (<anonymous>) at xy.$provideDecorations (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:119:4524) at C4.S (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:119615) at C4.Q (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:119395) at C4.M (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:118446) at C4.L (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:117589) at Jh.value (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:116386) at $.C (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:27:2373) at $.fire (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:27:2591) at fo.fire (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:9458) at Jh.value (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:388:8361) at $.C (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:27:2373) at $.fire (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:27:2591) at fo.fire (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:9458) at MessagePortMain.<anonymous> (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:388:6653) at MessagePortMain.emit (node:events:518:28) at Object.MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:2949) 2025-09-01 09:19:07.622 [error] ExtensionError: Error in extension synapsevscode.vscode-synapse-remote: FAILED to handle event at Jh.value (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:196:100366) at $.C (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:27:2373) at $.D (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:27:2443) at $.fire (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:27:2660) at Jh.value (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:196:62698) at $.C (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:27:2373) at $.fire (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:27:2591) at Cy.acceptDocumentsAndEditorsDelta (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:120:11788) at Cy.$acceptDocumentsAndEditorsDelta (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:120:10247) at C4.S (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:119615) at C4.Q (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:119395) at C4.M (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:118484) at C4.L (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:117589) at Jh.value (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:116386) at $.C (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:27:2373) at $.fire (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:27:2591) at fo.fire (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:9458) at Jh.value (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:388:8361) at $.C (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:27:2373) at $.fire (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:27:2591) at fo.fire (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:9458) at MessagePortMain.<anonymous> (file:///c:/Users/tgk/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:388:6653) at MessagePortMain.emit (node:events:518:28) at Object.MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:2949)
And it still does not work.
Also I don't see the synapse-spark-kernel kernel, I see Microsoft Runtime into a pyspark kernel
Do you get any leads, to what the issue might be?
- v-hashadapu11 months agoCommunity Support
Hi TobiasKon , Thank you for reaching out to the Microsoft Community Forum.
The errors you’re seeing now come from conflicting or corrupted Fabric/Synapse extensions in VS Code, not from the network. That’s why you get messages like extensionIsReady not found and why only the Microsoft Runtime PySpark kernel shows up instead of the proper synapse-spark-kernel. When the wrong extension loads, the debugger can’t initialize.
Uninstall all Synapse/Fabric extensions from VS Code, delete their folders under your .vscode/extensions directory, then reinstall just the Fabric Data Engineering (Preview) extension. After reinstall, sign back into Fabric in VS Code, that should refresh the environment and surface the correct Spark kernel so debugging can start normally.
- TobiasKon11 months agoRegular Visitor
Hi v-hashadapu,
Thanks once again for your reply. I have now tried following your instructions, by uninstalling all fabric related vs code extensions. It still does not work, I am still only able to see the Microsoft Runtime PySpark kernel, and the debugging does not work.I don't see the error: "ExtensionIsReady not found" anymore.
But I still get the error:
[error] TypeError: Cannot read properties of undefined (reading 'split')
I don't have the Fabric Data Engineering (Preview) extension avaliable to me, only the Fabric Data Engineering extension, should I try with the pre-release version of the extension?- v-hashadapu11 months agoCommunity Support
Hi TobiasKon , Thank you for reaching out to the Microsoft Community Forum.
This may mean the Fabric VS Code desktop extension isn’t fully setting itself up. On desktop it needs OpenJDK 8 (JDK, not JRE), Conda and the Jupyter extension, with JAVA_HOME and PATH pointing to that JDK. Once those are installed, reinstall the Fabric Data Engineering (desktop) extension, set a local work folder through its command, sign in and select your Fabric workspace. That should make the synapse-spark-kernel show up, without it, debugging won’t run. If it still errors, try the extension’s pre-release build, which fixes the crash in newer versions.
Solved: Re: VS Code and Synapse Kernel - Microsoft Fabric Community
Solved: Can't start kernel from notebook in VS Code synaps... - Microsoft Fabric Community
Create and manage Fabric notebooks from VS Code for the Web - Microsoft Fabric | Microsoft Learn
VS Code extension overview - Microsoft Fabric | Microsoft Learn
Synapse/Fabric Kernel is not available in VS Code. · Issue #13 · microsoft/SynapseVSCode