theia-ide / theia-apps

Theia applications examples - docker images, desktop apps, packagings
Apache License 2.0
1.04k stars 345 forks source link

unable to debug anymore #483

Closed smoebody closed 3 years ago

smoebody commented 3 years ago

Bug Description:

I am unable to start a debug session, neither for php nor node - which both used to work some time ago. Since i build my own docker-image based on https://github.com/theia-ide/theia-apps/tree/master/theia-full-docker i cannot say exactly when it stopped to work, because i build on an irregular basis.

Steps to Reproduce:

  1. Open project with debug-configuration
  2. Klick the "Start Debugging" Button
  3. Observe the error message

Additional Information

Logs:

root ERROR Error starting the debug session TypeError: is_electron_1.default is not a function
    at Object.startDebugAdapter (/app/node_modules/@theia/plugin-ext/lib/plugin/node/debug/plugin-debug-adapter-starter.js:44:48)
    at DebugExtImpl.<anonymous> (/app/node_modules/@theia/plugin-ext/lib/plugin/node/debug/debug.js:725:82)
    at step (/app/node_modules/@theia/plugin-ext/lib/plugin/node/debug/debug.js:33:23)
    at Object.next (/app/node_modules/@theia/plugin-ext/lib/plugin/node/debug/debug.js:14:53)
    at fulfilled (/app/node_modules/@theia/plugin-ext/lib/plugin/node/debug/debug.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
vince-fugnitto commented 3 years ago

@smoebody thank you for reporting the issue, I believe it is related to the upstream issue https://github.com/eclipse-theia/theia/issues/9729. It should be fixed as part of the next tag: https://github.com/eclipse-theia/theia/pull/9730.

smoebody commented 3 years ago

@vince-fugnitto Thanks for the hint. switching to the next-tag solved the problem

marcdumais-work commented 3 years ago

There was a theia release today, so this should be fixed with latest too now.

smoebody commented 3 years ago

I can confirm, that the problem is solved.