Skip to content

Error stack trace sent to the inspector contains ANSI escape codes #28287

Closed

Description

@joyeecheung

Screen Shot 2019-06-19 at 4 39 06 PM

Refs: #27052

One solution may be skipping

er.stack = inspect(er, { colors });

If the inspector is listening. Another alternative is to pass a different stack trace to V8Inspector::exceptionThrown().

Although..it might even be possible to customize the styles displayed in the DevTools but then I don't suppose it's easy to add that to the inspector protocol so that every inspector client handles it properly.

Activity

  1. added
    inspector
    errors
    on Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    errorsinspector

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions