Skip to content

Add debugger support with other platforms #2229

Closed
@jimmy-huang

Description

@jimmy-huang

The current debugger only works on Linux's BSD socket, I am trying to get the debugger to work on Zephyr since it recently added BSD socket support. However, it has slightly different headers for using the socket library and also it currently only supports a subset of the API. It would be nice if we can decouple all those socket APIs like accept(), send(), recv() and sleep() into jerry_port APIs as they can be platform-dependent. Are there any plans to add debugger support for other platforms?

Here's the working here, basically I replaced the debugger-ws.c with my own debugger-ws-zephyr.c when building for Zephyr:
https://github.com/jimmy-huang/jerryscript/tree/js-debugger

Metadata

Metadata

Assignees

No one assigned

    Labels

    debuggerRelated to the debuggerquestionRaised question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions