Skip to content

Conversation

@dominikg
Copy link
Member

@dominikg dominikg commented Sep 15, 2023

This reduces the noise of debug logs and allows you to get more fine grained control

the vite: prefix is removed so you have to enable vite-pluging svelte with DEBUG=vite-plugin-svelte:*

Additonally a few suffixes have been added to allow debugging only parts of it.

  • stats
  • hmr
  • config
  • load
  • resolve
  • preprocess
  • compile

usable via DEBUG=vite-plugin-svelte:suffix

fixes #617

@dominikg dominikg merged commit 7758c8b into main Sep 16, 2023
@dominikg dominikg deleted the refactor/debug branch September 16, 2023 11:38
@github-actions github-actions bot mentioned this pull request Sep 16, 2023
@github-actions github-actions bot mentioned this pull request Nov 16, 2023
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.

improve debug logs

3 participants