OutOfProcessNodeInstance.PrepareNodeProcessStartInfo Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Configura una ProcessStartInfo instancia que describe cómo iniciar el proceso de Node.js.
protected:
virtual System::Diagnostics::ProcessStartInfo ^ PrepareNodeProcessStartInfo(System::String ^ entryPointFilename, System::String ^ projectPath, System::String ^ commandLineArguments, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ environmentVars, bool launchWithDebugging, int debuggingPort);
protected virtual System.Diagnostics.ProcessStartInfo PrepareNodeProcessStartInfo (string entryPointFilename, string projectPath, string commandLineArguments, System.Collections.Generic.IDictionary<string,string> environmentVars, bool launchWithDebugging, int debuggingPort);
abstract member PrepareNodeProcessStartInfo : string * string * string * System.Collections.Generic.IDictionary<string, string> * bool * int -> System.Diagnostics.ProcessStartInfo
override this.PrepareNodeProcessStartInfo : string * string * string * System.Collections.Generic.IDictionary<string, string> * bool * int -> System.Diagnostics.ProcessStartInfo
Protected Overridable Function PrepareNodeProcessStartInfo (entryPointFilename As String, projectPath As String, commandLineArguments As String, environmentVars As IDictionary(Of String, String), launchWithDebugging As Boolean, debuggingPort As Integer) As ProcessStartInfo
Parámetros
- entryPointFilename
- String
Archivo JavaScript de punto de entrada que debe ejecutar el proceso de Node.js.
- projectPath
- String
Ruta de acceso raíz del proyecto. Se usa al buscar Node.js módulos en relación con la raíz del proyecto.
- commandLineArguments
- String
Argumentos de línea de comandos que se van a pasar al proceso de Node.js.
- environmentVars
- IDictionary<String,String>
Variables de entorno que se van a establecer en el proceso de Node.js.
- launchWithDebugging
- Boolean
Si es true, pasa una marca al proceso de Node.js que le indica que acepte las conexiones del Inspector V8.
- debuggingPort
- Int32
Si la depuración está habilitada, el proceso de Node.js debe escuchar las conexiones del Inspector V8 en este puerto.