Skip to content

Console.log in worker makes chrome debugging crashΒ #1511

@JoeyBG

Description

@JoeyBG

I was investigating why we suddenly couldn't debug our app, and I realized it was due to a stray console.log in a worker.

Steps: To reproduce

  1. Run the sample in debug using tns debug android
  2. Open Chrome dev-tools
  3. Reload the app so that your chrome is connected before the worker is called (or just add a button to re-send a message...)
  4. Application crashes like this:
    image

This obviously work if you remove the console.log, or if you do not debug.

This also prevents VSCode debugging, same behavior.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions