Skip to content

Extend debug mode to help find subtle errors during development #5832

@Brimstedt

Description

@Brimstedt

What problem does this feature solve?

To help developers not get stuck on hard to catch or non apparent bugs, it would be neat if debug mode could check:

  • Do we have data properties with same name as a method (to avoid confusing "xxx is not a method)
  • Did an object loose reactivity on some property (i.e. did a non getter/setter property on any of the managed objects appear)

Probably there are other helpers to be added as well.

What does the proposed API look like?

There is already an API to turn on debug mode.

Vue.config.debug = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions