{"record":{"id":"22bfc5a7f06dda98","repo":"stride3d/stride","slug":"host-pipe-not-specified","errorCode":null,"errorMessage":"Host pipe not specified","messagePattern":"Host pipe not specified","errorType":"console","errorClass":"OptionException","httpStatus":null,"severity":"error","filePath":"sources/engine/Stride.Debugger/Program.cs","lineNumber":69,"sourceCode":"                }\n\n                if (waitDebuggerAttach)\n                {\n                    // Wait for 2 second max\n                    for (int i = 0; i < 500; ++i)\n                    {\n                        if (System.Diagnostics.Debugger.IsAttached)\n                        {\n                            break;\n                        }\n\n                        Thread.Sleep(10);\n                    }\n                }\n\n                if (hostPipe == null)\n                {\n                    throw new OptionException(\"Host pipe not specified\", \"host\");\n                }\n\n                // Open WCF channel with master builder\n                try\n                {\n                    using (var channel = new NpClient<IGameDebuggerHost>(new NpEndPoint(hostPipe)))\n                    {\n                        var gameDebuggerTarget = new GameDebuggerTarget();\n                        gameDebuggerTarget.MainLoop(channel.Proxy);\n                    }\n                }\n                catch (Exception)\n                {\n                    throw;\n                }\n            }\n            catch (OptionException e)\n            {","sourceCodeStart":51,"sourceCodeEnd":87,"githubUrl":"https://github.com/stride3d/stride/blob/96fad776d210c221682aac1ccdf4c79dc046fc38/sources/engine/Stride.Debugger/Program.cs#L51-L87","documentation":"Program.Main requires the --host command-line option, which names the named pipe used to reach IGameDebuggerHost. If hostPipe is still null after parsing (the --host flag was absent or empty), Main throws OptionException before opening the WCF named-pipe channel.","triggerScenarios":"Starting Stride.Debugger.exe without --host <pipeName>, or with --host given an empty value, so hostPipe remains null at the check in Program.cs:69.","commonSituations":"Launching the debugger executable manually instead of through the Stride editor; a broken editor launch profile that lost the --host argument; scripts building the command line conditionally and dropping the host option.","solutions":["Pass the host pipe: Stride.Debugger.exe --host <pipeName>, using the pipe name provided by the Stride editor/host process.","Fix the launch profile or launcher script so the --host argument is always supplied.","Verify the option binding (waitDebuggerAttach/hostPipe fields in Program.cs) matches the flag names used on the command line."],"exampleFix":"// before\nStride.Debugger.exe\n\n// after\nStride.Debugger.exe --host \"stride-game-debugger-pipe\"","handlingStrategy":"validation","validationCode":"// Check required args before process start\nif (!args.Contains(\"--host\") || string.IsNullOrWhiteSpace(hostPipeName))\n    throw new ArgumentException(\"Stride.Debugger requires --host <pipeName>\");","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Always pass --host <pipeName> when launching Stride.Debugger","Obtain the pipe name from the Stride editor/host, never hardcode","Keep launcher scripts reviewed when upgrading Stride"],"tags":["cli","missing-argument","pipe","startup"],"backgroundTag":"missing-required-option","analyzedSha":"96fad776d210c221682aac1ccdf4c79dc046fc38","analyzedAt":"2026-09-14T02:59:31.279Z","contentChangedAt":"2026-09-14T02:59:31.279Z","schemaVersion":2},"datasetVersion":"2026-09-15T23:17:13.987Z"}