// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System.Collections.Generic; using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol; namespace Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter { public class LaunchRequest { public static readonly RequestType Type = RequestType.Create("launch"); } public class LaunchRequestArguments { /// /// Gets or sets the absolute path to the program to debug. /// public string Program { get; set; } /// /// Gets or sets a boolean value that indicates whether the script should be /// run with (false) or without (true) debugging support. /// public bool NoDebug { get; set; } /// /// Gets or sets a boolean value that determines whether to automatically stop /// target after launch. If not specified, target does not stop. /// public bool StopOnEntry { get; set; } /// /// Gets or sets optional arguments passed to the debuggee. /// public string[] Args { get; set; } /// /// Gets or sets the working directory of the launched debuggee (specified as an absolute path). /// If omitted the debuggee is lauched in its own directory. /// public string Cwd { get; set; } /// /// Gets or sets the absolute path to the runtime executable to be used. /// Default is the runtime executable on the PATH. /// public string RuntimeExecutable { get; set; } /// /// Gets or sets the optional arguments passed to the runtime executable. /// public string[] RuntimeArgs { get; set; } /// /// Gets or sets optional environment variables to pass to the debuggee. The string valued /// properties of the 'environmentVariables' are used as key/value pairs. /// public Dictionary Env { get; set; } } }