Skip to content

Cannot debug source maps #3114

Description

@dlabrecq

I'm having trouble debugging the PatternFly examples in Chrome. It's nearly impossible to set a breakpoint, which makes development very difficult -- been using console.log output.

I see the sourceMappingURL at the bottom of each file, but also see React.createElement statements, which suggests that Chrome is not loading the source maps properly.

I see the same result in Chrome and Firefox. However, I'm able to debug the Cost management and RBAC UIs just fine.

The following files are from .../react-core/dist/esm and .../react-charts/dist/esm respectively.

Button -- no available breakpoints
Screen Shot 2019-10-10 at 10 50 01 PM

ChartArea -- random breakpoints available
Screen Shot 2019-10-10 at 10 48 49 PM

Metadata

Metadata

Assignees

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