-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error starting the debug session TypeError: is_electron_1.default is not a function #9729
Comments
The @paul-marechal What do you think? In the meantime we could use import the const isElectron = require('is-electron'); I'll open a PR with that change. |
Fix eclipse-theia#9729 Signed-off-by: Philip Langer <planger@eclipsesource.com>
If TypeScript allows us we could do |
Unfortunately, TypeScript complains if I do that:
|
Fix #9729 Signed-off-by: Philip Langer <planger@eclipsesource.com>
Fix eclipse-theia#9729 Signed-off-by: Philip Langer <planger@eclipsesource.com>
Bug Description:
The following error occurs when a debug session is started involving a debug adapter contributed by a VSCode plugin:
Steps to Reproduce:
webfreak.debug
, e.g. by adding"vscode-native-debug": "https://open-vsx.org/api/webfreak/debug/0.25.1/file/webfreak.debug-0.25.1.vsix"
to the root package.json.
yarn download:plugins
andyarn start:browser
.vscode/launch.json
, such asStart Debugging
the launch config created aboveAdditional Information
Change that introduces the invocation of
isElectron()
:ab27299#diff-4cbce14389ca5434c2b22540901b6e30978a267684ca1f6636cb54221559f38b
The text was updated successfully, but these errors were encountered: