We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--start_debug_server
1 parent fdd31f2 commit 68afd14Copy full SHA for 68afd14
targets/nuttx-stm32f4/jerry_main.c
@@ -41,10 +41,11 @@ print_help (char *name)
41
jerry_port_console ("Usage: %s [OPTION]... [FILE]...\n"
42
"\n"
43
"Options:\n"
44
+ " --log-level [0-3]\n"
45
" --mem-stats\n"
46
" --mem-stats-separate\n"
47
" --show-opcodes\n"
- " --log-level [0-3]\n"
48
+ " --start-debug-server\n"
49
"\n",
50
name);
51
} /* print_help */
@@ -233,6 +234,10 @@ int jerry_main (int argc, char *argv[])
233
234
return JERRY_STANDALONE_EXIT_CODE_FAIL;
235
}
236
237
+ else if (!strcmp ("--start-debug-server", argv[i]))
238
+ {
239
+ flags |= JERRY_INIT_DEBUGGER;
240
+ }
241
else
242
{
243
file_names[files_counter++] = argv[i];
0 commit comments