We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$inspect.trace
1 parent c051a6e commit 0ace76dCopy full SHA for 0ace76d
documentation/docs/02-runes/07-$inspect.md
@@ -52,6 +52,7 @@ This rune, added in 5.14, causes the surrounding function to be _traced_ in deve
52
import { doSomeWork } from './elsewhere';
53
54
$effect(() => {
55
+ +++// $inspect.trace must be the first statement of a function body+++
56
+++$inspect.trace();+++
57
doSomeWork();
58
});
0 commit comments