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 src/platforms/common/configuration/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ The number of context lines for each frame in the stacktrace when loading a file

The number of context lines for each frame when loading a file.

#### Deprecated

`frameContextLines` has moved to the <PlatformLink to="/configuration/integrations/default-integrations/#contextlines">`ContextLines` integration</PlatformLink>.

</ConfigKey>

<ConfigKey name="initial-scope" supported={["javascript","node"]}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,23 @@ Available options:
}
```

### ContextLines

_Import name: `Sentry.Integrations.ContextLines`_

_(Available in version 6.18.0 and above)_

This integration adds source file context to stack frames for captured exceptions

Available options:

```javascript
{
// The number of context lines to include with each frame
frameContextLines: number;
}
```

### LinkedErrors

_Import name: `Sentry.Integrations.LinkedErrors`_
Expand Down