diff --git a/documentation/docs/02-runes/07-$inspect.md b/documentation/docs/02-runes/07-$inspect.md index 00857f3ef4..8564325067 100644 --- a/documentation/docs/02-runes/07-$inspect.md +++ b/documentation/docs/02-runes/07-$inspect.md @@ -62,3 +62,11 @@ This rune, added in 5.14, causes the surrounding function to be _traced_ in deve ``` `$inspect.trace` takes an optional first argument which will be used as the label. + +## $inspect vs {@debug ...} + +Svelte has both `$inspect` and [`{@debug ...}`](@debug) because they debug from different places and do different jobs. `{@debug}` is not deprecated. + +Use `$inspect` from `