Skip to content

Electron: Chrome disconnects if Node exits.  #4

@jgarzagu

Description

@jgarzagu

Currently if there is an error, like opening a wrong serial port, node exits. The problem is that when using it with chrome, chrome stops working which can make it hard to debug the program. See image below:

image

A solution to this could be to halt instead of exit or add some code to choose whether to halt or exit.

Metadata

Metadata

Assignees

No one assigned

    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