Set log level to JERRY_LOG_LEVEL_DEBUG when using show-opcodes on nuttx-stm32f4 target
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka
@@ -380,6 +380,7 @@ int jerry_main (int argc, char *argv[])
else if (!strcmp ("--show-opcodes", argv[i]))
{
flags |= JERRY_INIT_SHOW_OPCODES | JERRY_INIT_SHOW_REGEXP_OPCODES;
+ jerry_log_level = JERRY_LOG_LEVEL_DEBUG;
}
else if (!strcmp ("--log-level", argv[i]))
{
