Closed
Description
Environment
Provide version numbers for the following components (information can be retrieved by running tns info
in your project folder or by inspecting the package.json
of the project):
- CLI: 5.1.0
- Cross-platform modules: 5.0.0
- Android Runtime: 5.0.0
- iOS Runtime: 5.0.0
To Reproduce
tns create testApp --ng && cd testApp
tns debug ios --bundle
(or launch the VSCode task with --bundle)- try to hit a breakpoint
- you will have to wait for ~1-3 minutes based on the device performance
Expected behavior
The breakpoint should be available just after the app is started.
Additional context
After tracing the debug protocol, it seems that the delay is caused by the "{"method":"Debugger.scriptParsed","params":{"scriptId":"1","url":"file:///app/vendor.js"..." message. The file huge and the runtime needs much time in order to parse its source maps.