MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / useLocator

Function useLocator

packages/debugger/src/setup.ts:15–17  ·  view source on GitHub ↗
(options: debug.LocatorOptions)

Source from the content-addressed store, hash-verified

13
14/** @deprecated use `setLocatorOptions` */
15export function useLocator(options: debug.LocatorOptions) {
16 setLocatorOptions(options)
17}
18export function setLocatorOptions(options: debug.LocatorOptions) {
19 assert(globalThis.SolidDevtools$$, 'solid-devtools is not setup')
20 globalThis.SolidDevtools$$.locator_options = options

Callers

nothing calls this directly

Calls 1

setLocatorOptionsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…