feat: debugging server does not require network permission now

This commit is contained in:
MihailRis 2026-01-06 23:13:17 +03:00
parent 4c7043d4c2
commit 6cdd6b833c
4 changed files with 14 additions and 4 deletions

View file

@ -139,7 +139,8 @@ void Engine::initialize(CoreParameters coreParameters) {
editor = std::make_unique<devtools::Editor>(*this);
cmd = std::make_unique<cmd::CommandsInterpreter>();
if (project->permissions.has(Permissions::NETWORK)) {
if (project->permissions.has(Permissions::NETWORK) ||
!params.debugServerString.empty()) {
network = network::Network::create(settings.network);
}