Skip to content

Deprecate {@debug }...? #14112

Open
Open
@Ocean-OS

Description

@Ocean-OS

Describe the problem

Svelte 5 introduced the $inspect rune, which has very similar functionality to the debug tag. This makes me question the necessity of the {@debug } tag.

Describe the proposed solution

I feel like the debug tag probably isn't needed, but the only thing that {@debug } has that $inspect doesn't is the ability to log on every state change. I think the best way to replace this would be to just make calling $inspect without any arguments have the same behavior.
The only issue I see with doing this is that Svelte 5 has already released and this could upset some people.

Importance

nice to have

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions