OpenBugReportCommandHandlerConstructorParams.getDiagnostics?
OpenBugReportCommandHandlerConstructorParams › getDiagnostics?
Type: () => Promisable<readonly BugReportDiagnosticSection[]>
Gets the optional diagnostics the report can carry, such as aBugReportLogBuffer's section or the plugin's own redacted settings. Called each time the command runs. When it returns any section, the user reviews them and chooses which to include before the form opens; a potentially private section starts excluded. Leave it out to open the form with the environment only, as before.