Huge amounts of debug output emitted #102
-
Hiya. We are attempting to upgrade from react-markdown v5 to v7. This upgrade seems to have pulled in a version of
This is mostly an FYI, i guess, because one can always use
but it seems odd to have such a huge amount of debug on without some extra flags? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for reaching out, sorry you ran into a spot of trouble. The verbose logs are hidden behind two flags. https://github.com/micromark/micromark#size--debug
In your example, both the export condition and the log level have been set to be verbose. If you don't want verbose debugging in development |
Beta Was this translation helpful? Give feedback.
Thanks for reaching out, sorry you ran into a spot of trouble.
The verbose logs are hidden behind two flags. https://github.com/micromark/micromark#size--debug
debug
package logging flagIn your example, both the export condition and the log level have been set to be verbose.
If you don't want verbose debugging in development
localStorage.debug="*,-micromark"
could be a good option.It will also not log when the export condition/environment changes to production.