Skip to content

feat: Show Qute DAP traces#1126

Merged
datho7561 merged 1 commit intoredhat-developer:masterfrom
angelozerr:qute_debug_trace
Sep 19, 2025
Merged

feat: Show Qute DAP traces#1126
datho7561 merged 1 commit intoredhat-developer:masterfrom
angelozerr:qute_debug_trace

Conversation

@angelozerr
Copy link
Copy Markdown
Contributor

@angelozerr angelozerr commented Sep 18, 2025

This PR provides the capability to show DAP trace (like LSP trace) in the Qute Debug output:

image

To enable this Qute DAP trace, you need to declare in our settings

"qute.trace.debug": "verbose" (you should have completion which promotes this setting)

@datho7561
Copy link
Copy Markdown
Contributor

I'm able to debug and see the debug trace, but I don't see any specific messages in the debug trace (i.e. if I add a breakpoint nothing is output in the debug trace, even if I set it to "verbose")

@datho7561
Copy link
Copy Markdown
Contributor

Even though I've set "qute.trace.debug": "verbose", I don't see any output other than:

2025-09-18 16:05:27.680 [info] Trace enabled at level: Off
2025-09-18 16:05:27.680 [info] Debug session started for Debug Qute templates
2025-09-18 16:05:29.649 [info] Debug session stopped
2025-09-18 16:05:33.953 [info] Trace enabled at level: Off
2025-09-18 16:05:33.953 [info] Debug session started for Debug Qute templates
2025-09-18 16:05:35.955 [info] Debug session stopped
2025-09-18 16:06:04.445 [info] Trace enabled at level: Off
2025-09-18 16:06:04.445 [info] Debug session started for Debug Qute templates
2025-09-18 16:06:36.902 [info] Trace level updated to: Verbose (verbose)
2025-09-18 16:06:50.999 [info] Debug session stopped
2025-09-18 16:06:55.328 [info] Trace enabled at level: Verbose
2025-09-18 16:06:55.328 [info] Debug session started for Debug Qute templates

@angelozerr
Copy link
Copy Markdown
Contributor Author

Have you Trace as level:

image

@datho7561
Copy link
Copy Markdown
Contributor

My bad, didn't realize that was there! Yep, I needed to change that setting. It seems to be working pretty well after fixing that.

@angelozerr angelozerr marked this pull request as ready for review September 19, 2025 06:45
Signed-off-by: azerr <azerr@redhat.com>
@angelozerr
Copy link
Copy Markdown
Contributor Author

Can we merge the PR @datho7561 ?

Copy link
Copy Markdown
Contributor

@datho7561 datho7561 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks, Angelo!

@datho7561 datho7561 merged commit 88f01dc into redhat-developer:master Sep 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants