Closed BrightSoul closed 5 years ago
I can confirm this also occurs on the MacOS version 1.32.1 of VS Code. Here's the error shown in the developer tools:
console.ts:134 [Extension Host] undefined session received in acceptDebugSessionStarted
t.log @ console.ts:134
$logExtensionHostMessage @ mainThreadConsole.ts:39
_doInvokeHandler @ rpcProtocol.ts:390
_invokeHandler @ rpcProtocol.ts:375
_receiveRequest @ rpcProtocol.ts:295
_receiveOneMessage @ rpcProtocol.ts:225
_protocol.onMessage.e @ rpcProtocol.ts:100
fire @ event.ts:584
r @ ipc.net.ts:295
e @ ipc.net.ts:302
fire @ event.ts:584
o @ ipc.net.ts:103
_socketDataListener.e @ ipc.net.ts:132
emit @ events.js:182
addChunk @ _stream_readable.js:279
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onread @ net.js:636
This is due to Microsoft/vscode#70125. I have added a workaround in version 1.4.2, so after updating Jasmine adapter, debugging will work again.
As soon as I update to Visual Studio Code version 1.32.1 on Windows 10, I can't debug tests anymore. I click on "Debug" in the code lens but nothing happens. Breakpoints are not hit. And the same happens when I click the "bug" icon in the test explorer.
Here's the output from the "Jasmine Explorer Log" panel. As you can see, there's an "[ERROR] No active debug session - aborting" in there.
I could replicate this problem on two different PCs. This happens with the default settings. I tried changing them in various ways but nothing seemed to help.
When I revert to the previous version of Visual Studio Code (January 2019), the debugger is fully functional again. So, in the meantime I've just blocked automatic updates.