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

Tracing should work in the IDE #1437

Closed
timotheeguerin opened this issue Dec 14, 2022 · 3 comments · Fixed by #5316
Closed

Tracing should work in the IDE #1437

timotheeguerin opened this issue Dec 14, 2022 · 3 comments · Fixed by #5316
Assignees
Labels
feature New feature or request ide Issues for VS, VSCode, Monaco, etc.
Milestone

Comments

@timotheeguerin
Copy link
Member

Right now don't think there is a way to enable the compiler trace and have the output show up in vscode. This makes it hard/impossible to debug costumer issues

@ghost ghost added the Needs Triage label Dec 14, 2022
@markcowl markcowl added this to the [2023] February milestone Dec 15, 2022
@markcowl
Copy link
Contributor

markcowl commented Dec 15, 2022

est: 3 (timebox)

@markcowl markcowl modified the milestones: [2023] April, [2023] May Jan 28, 2023
@markcowl markcowl modified the milestones: [2023] May, Backlog Feb 9, 2023
@timotheeguerin timotheeguerin added the ide Issues for VS, VSCode, Monaco, etc. label Aug 30, 2024
@RodgeFu RodgeFu added the feature New feature or request label Sep 10, 2024
@chunyu3
Copy link
Contributor

chunyu3 commented Nov 14, 2024

Hello @timotheeguerin What's the Tracing log? Are they the trace logs when compile an tsp file?

@chunyu3
Copy link
Contributor

chunyu3 commented Nov 14, 2024

When config trace in tspconfig.yaml like following to enable trace in all area

emit:
  - "@typespec/openapi3"
trace: "*"
options:
  "@typespec/openapi3":

The compiler trace log will show in the vs code output as following:
Image

But the log level is not correct. it mistakenly displayed as debug level. It may be the inconsistent log-level between compiler and VS code.

tsp compiler only has 3 log level ( trace, warning, error), but vs code has 5 log level (trace, debug, info, warning, error)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request ide Issues for VS, VSCode, Monaco, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants