Is your feature request related to a problem?
Currently, Notation prints debug information using the --debug flag, but there's no mechanism to pass this flag to plugins. Additionally, since Notation doesn't transmit any environment variables to plugins, plugin producers have limited options to output debug information.
What solution do you propose?
Set the environment variable ENABLE_NOTATION_PLUGIN_Debug=1 when invoking the plugin, or call the plugin with the --debug flag.
What alternatives have you considered?
Passing the debug flag as plugin configuration poses a challenge as the plugin needs to parse the input to determine if debugging is enabled or not. In come cases plugin producer might be trying to debug parsing issues.
Any additional context?
No response
Is your feature request related to a problem?
Currently, Notation prints debug information using the
--debugflag, but there's no mechanism to pass this flag to plugins. Additionally, since Notation doesn't transmit any environment variables to plugins, plugin producers have limited options to output debug information.What solution do you propose?
Set the environment variable
ENABLE_NOTATION_PLUGIN_Debug=1when invoking the plugin, or call the plugin with the--debugflag.What alternatives have you considered?
Passing the debug flag as plugin configuration poses a challenge as the plugin needs to parse the input to determine if debugging is enabled or not. In come cases plugin producer might be trying to debug parsing issues.
Any additional context?
No response