Debug: Unit tests configuration should run in real electron and not node.js environment #48205
Labels
engineering
VS Code - Build / issue tracking / etc.
feature-request
Request for new features or functionality
*out-of-scope
Posted issue is not in scope of VS Code
We can no longer run the unit tests via the debug configuration because some tests drag in
fileService.ts
which recently started to move toelectron-browser
. Instead of finding a solution for this while keeping node.js, we should instead allow the unit tests to execute in an Electron environment, in the same way they run when running from the command line.Thanks @weinand for reporting this. It would probably require to connect the debugger to the Electron renderer via the chrome debugger (cc @roblourens).
The text was updated successfully, but these errors were encountered: