Skip to content

Can't use client debugger on minified bundle. #24

@davidkellerman

Description

@davidkellerman

[Okay, read all the way to the bottom; I've been amending this as I poke around.]

The bundled output from clientjs is minified (as one very long line), which means debugging anything in the bundle using the browser debugger is not possible. Certainly, during development at least, un-minified output should be the default.

Setting "minify": false in the client_js configuration isn't helpful. What is then visible in the browser debugger is webpack's stringified output. (Which the Chrome debugger handles badly, tending to freeze when searching it, for example.)

Okay, one more update. The expanded code modules appear in the Chrome debugger in the Sources list under webpack://. Figuring out how things are arranged may take some getting used to, but so far things seem to be there.

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