This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The JS scripts can be wrapped within a function, see issue #238839. In this case the original file content differs from the runtime content and we get two separate file tabs for them. This is a problem from usability point of view. Also, breakpoints annotation need to be duplicated to the runtime content.
Required for Avatar.js.
The conclusion is to show the original user file. Not the wrapped version.