Allow use of Visual Studio command line arguments (#31)

* Allow debug command line args
This commit is contained in:
Alexei Stukov
2022-09-01 23:48:15 +03:00
committed by GitHub
parent f286e2942d
commit f858c841d7
3 changed files with 10 additions and 1 deletions

View File

@@ -136,7 +136,7 @@ namespace GodotAddinVS.Debugging
var processStartInfo = new ProcessStartInfo(GetGodotExecutablePath())
{
Arguments = $"--path {workingDir} --remote-debug {host}:{remoteDebugPort}", // TODO: Doesn't work with 4.0dev. Should be tcp://host:port which doesn't work in 3.2...
Arguments = $"--path {workingDir} --remote-debug {host}:{remoteDebugPort} {godotStartInfo.StartArguments}", // TODO: Doesn't work with 4.0dev. Should be tcp://host:port which doesn't work in 3.2...
WorkingDirectory = workingDir,
RedirectStandardOutput = true,
RedirectStandardError = true,