Skip to content

Debugging not working with --bundle #222

@DimitarTachev

Description

@DimitarTachev

Environment

  • CLI: 5.0.1
  • Cross-platform modules: 5.0.0
  • Android Runtime: 5.0.0
  • iOS Runtime: 5.0.0
  • VSCode: 1.29.1

To Reproduce

  1. tns create newApp --js
  2. cd newApp
  3. code .
  4. Add "tnsArgs": ["--bundle"] in the Launch on Android task.
  5. Run the Launch on Android task.
  6. Set a breakpoint.
  7. The breakpoint is grayed out and marked as unverified (most probably the bundle js map is not handled properly).

Expected behavior
You should be able to debug the NativeScript apps in VSCode when the --bundle or --hmr flags are passed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions