mirror of
https://github.com/godotengine/godot-csharp-vscode.git
synced 2025-12-31 21:48:32 +03:00
30 lines
662 B
C#
30 lines
662 B
C#
using System;
|
|
|
|
namespace GodotDebugSession
|
|
{
|
|
static class Program
|
|
{
|
|
static void Main()
|
|
{
|
|
try
|
|
{
|
|
Logger.Log("GodotDebugSession: Starting debug session...");
|
|
|
|
new GodotDebugSession()
|
|
.Start(Console.OpenStandardInput(), Console.OpenStandardOutput())
|
|
.Wait();
|
|
|
|
Logger.Log("GodotDebugSession: Debug session terminated.");
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
Logger.LogError(ex);
|
|
}
|
|
finally
|
|
{
|
|
Logger.Close();
|
|
}
|
|
}
|
|
}
|
|
}
|