Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/bundler-plugin-core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ export interface Options {
* Enable debug information logs during build-time.
* Enabling this will give you, for example, logs about source maps.
*
* This option also propagates the debug flag to the Sentry CLI by setting
* the `SENTRY_LOG_LEVEL` environment variable to `"debug"` if it's not already set.
* If you have explicitly set `SENTRY_LOG_LEVEL`, this option will be ignored.
*
* @default false
*/
debug?: boolean;
Expand Down
4 changes: 2 additions & 2 deletions packages/dev-utils/src/generate-documentation-table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const options: OptionDocumentation[] = [
name: "debug",
type: "boolean",
fullDescription:
"Enable debug information logs during build-time. Enabling this will give you, for example, logs about source maps. Defaults to `false`.",
'Enable debug information logs during build-time. Enabling this will give you, for example, logs about source maps. This option also propagates the debug flag to the Sentry CLI by setting the `SENTRY_LOG_LEVEL` environment variable to `"debug"` if it\'s not already set. If you have explicitly set `SENTRY_LOG_LEVEL`, this option will be ignored. Defaults to `false`.',
},
{
name: "silent",
Expand Down Expand Up @@ -114,7 +114,7 @@ urls and absolute/relative paths). If that path doesn't exist, it then looks for

Note: This is mostly helpful for complex builds with custom source map generation. For example, if you put source
maps into a separate directory and rewrite the \`//# sourceMappingURL=\` comment to something other than a relative
directory, sentry will be unable to locate the source maps for a given build artifact. This hook allows you to
directory, sentry will be unable to locate the source maps for a given build artifact. This hook allows you to
implement the resolution process yourself.

Use the \`debug\` option to print information about source map resolution.
Expand Down
Loading