Skip to content

Debug ID: Define how to extract //# debugId=... comment #202

Description

@lforst

Similar to how we defined an algorithm to extract sourceMappingURL comments in #94 we should define an algorithm to extract the debugId= comment.

  • The same algorithm as for sourceMappingURL comments should likely be applied for debugId comments
  • Should we define a separate abstract operation in the spec?
  • Should adjust the existing algorithm to extract a "pattern" that is passed in? (pattern being either debugId or sourceMappingURL)
  • Should we be more specific with regard to //@ since we don't carry historical debt? i.e. dissallow it for debugId comments?
  • Should we define an algorithm for CSS too?
  • We should add tests. Do we already have tests for sourceMappingURL?

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions