Small fix in DAP protocol implementation.

This commit is contained in:
Martín Lucas Golini
2025-10-24 00:44:35 -03:00
parent 5f678f2dfe
commit d033102d20
2 changed files with 2 additions and 2 deletions

View File

@@ -1303,7 +1303,7 @@ void DebuggerPlugin::replaceKeysInJson(
j = std::move( argsArr );
continue;
} else if ( runConfig && val == KEY_ENV && buildConfig ) {
j = nlohmann::json{};
j = nlohmann::json::object();
for ( const auto& env : buildConfig->envs() )
j[env.first] = env.second;
} else if ( val == KEY_STOPONENTRY ) {