-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
feat: add debugDepth
option
#18289
base: main
Are you sure you want to change the base?
feat: add debugDepth
option
#18289
Conversation
Run & review this pull request in StackBlitz Codeflow. |
Could it be set for the config loading specifically only? I'm not sure if Vite should change the default depth as that might expand other logs. |
That makes sense, it seems that adding a new configuration alone will have the least impact. |
* | ||
* https://nodejs.org/api/util.html#utilinspectobject-options | ||
*/ | ||
debugDepth?: string | undefined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The environment variable stores a string, and the util.inspect
option accepts a number. I am not sure whether the type here should be set to a number or a string. Currently, it is set to a string.
Maybe we can add a |
Description
When I set the debug parameters and prepare to view relevant information, I expect to be able to see some object information with a deeper nesting level more intuitively.