Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / ignoreSourceFrames

Function: ignoreSourceFrames() โ€‹

ignoreSourceFrames(dir, opts?): void

Defined in: core/debug/sources.ts:48

Skips stack frames under dir so locations land in author code.

Libraries (spool) pass nothing: lines go to their caller. Frameworks (twine) pass framework, so lines they emit themselves point at the framework instead of the shared build entry.

Parameters โ€‹

dir โ€‹

string

opts? โ€‹

framework? โ€‹

boolean

Returns โ€‹

void

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.