Skip to content
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

Add debug session for debugging with existing cosmic install #1108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nashenas88
Copy link
Contributor

Add a new debug session that piggy-backs on an existing cosmic install so that input interactions can be debugged without replacing the install cosmic-comp. This only works when the configs can be shared between both versions.

I'm not sure if this is wanted, but it made it easier for me to debug some other PRs I was working on.

Add a new debug session that piggy-backs on an existing cosmic install
so that input interactions can be debugged without replacing the
install cosmic-comp. This only works when the configs can be shared
between both versions.
@hojjatabdollahi
Copy link

@Nashenas88 what is your workflow for debugging with this PR?

@Nashenas88
Copy link
Contributor Author

Nashenas88 commented Jan 3, 2025

@hojjatabdollahi I run cargo build --release && sudo make install-debug-session. Then I logout and login to the Debug Cosmic session. I'll then launch a terminal and run journalctl -b -t debug-cosmic-comp to look at logs.

@Drakulix
Copy link
Member

Drakulix commented Jan 6, 2025

While I like the idea of a debug session, I certainly do not like how this duplicates a bunch of files. If you want to see this merged, I would suggest to re-model the service and desktop files into template files, that is then generated into the different variants in the install step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants