wasm_runtime_start_debug_instance: Allow to override port (#1421)

Allow the embedder to manage port number for this purpose by itself.
This commit is contained in:
YAMAMOTO Takashi
2022-08-26 17:33:47 +09:00
committed by GitHub
parent ee98b583d5
commit 3875c6649a
5 changed files with 34 additions and 10 deletions

View File

@ -108,7 +108,7 @@ void
on_thread_stop_event(WASMDebugInstance *debug_inst, WASMExecEnv *exec_env);
WASMDebugInstance *
wasm_debug_instance_create(WASMCluster *cluster);
wasm_debug_instance_create(WASMCluster *cluster, int32 port);
void
wasm_debug_instance_destroy(WASMCluster *cluster);