Make debugger port runtime configurable

Convert debug server port from a compile-time constant to a context
variable. This enables each engine instance (either running in the
same process or in different processes) to listen for connections
at different ports, i.e., multiple engines can be debugged at the
same time on the same machine.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss [email protected]
This commit is contained in:
Akos Kiss authored and yichoi committed 2017-07-06 07:08:00 +09:00
1 parent cfa4fdd1ef
commit 18283d22c0
21 files changed
+59 -47

No files matched your search

-1
View File
@@ -16,4 +16,3 @@ Stopped at tests/debugger/do_src.js:21
Stopped at <unknown>:2 (in f() at line:1, col:5)
(jerry-debugger) src
(jerry-debugger) c
Connection closed.