Theia should not offer to start apps for debugging
See original GitHub issueIs your enhancement related to a problem? Please describe.
Many default suggested debug configurations in Theia operate similarly to VSCode: they start the specified app and connect debugging to it.
This does not make sense for Eclipse Che. We often start the Theia sidecar container with a limited (512MiB
) memory quota, and often it’s impossible to run anything else significant in this container.
Some examples that come to mind are
- The netcoredbg plugin for .NET workspaces only seems to work locally, so the application has to start in a sidecar container
- The built-in autocompletes for debug configurations include “launch” configs, which call e.g.
npm debug
in the theia container; these usually get killed before starting up completely
Describe the solution you’d like
At the very least, Theia should not suggest configurations that will not work. Ideally Theia would be able to somehow operate in the main workspace container (which should have enough memory to run the app), but I realize this is likely not possible in a general way.
Describe alternatives you’ve considered
Caveat emptor, I guess?
Additional context
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:18 (18 by maintainers)
Top Results From Across the Web
Failed to start the frontend application - Theia Community
Run a process just after Theia's start. Recieve confirmation that the process is running as it should (from stdout or something like that)....
Read more >Debugging Node.js applications in Theia - Gitpod
Step 1: Start debugging. Gitpod workspace. In order to start debugging, you should open the debug view first. You can do it via...
Read more >Chapter 2. Che-Theia IDE basics - Red Hat Customer Portal
In the Debug view, select the configuration and press F5 to debug the application. Or, start the application without debugging by pressing Ctrl+F5....
Read more >How To Set Up the Eclipse Theia Cloud IDE Platform on ...
You can save debugging configurations in the launch.json file. Debugger View with launch.json open. The central part of the GUI is your editor, ......
Read more >Jumpstart IDE and Tool Development With Eclipse Theia ...
IDE and tool developers can now quickly and easily evaluate the functionality ... you'll be able to launch a Theia instance as a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tsmaeder @amisevsk I’ve just checked [1] and it works fine. It is pretty simple to hide
launch
configurations from user. At the same time user is able to add them manually.[1] https://github.com/eclipse/che-theia/blob/ab/filterDebugConf/extensions/eclipse-che-theia-plugin-remote/src/node/debug-configuration-filter.ts
Issues go stale after
180
days of inactivity.lifecycle/stale
issues rot after an additional7
days of inactivity and eventually close.Mark the issue as fresh with
/remove-lifecycle stale
in a new comment.If this issue is safe to close now please do so.
Moderators: Add
lifecycle/frozen
label to avoid stale mode.