Compartir a través de


OutOfProcessNodeInstance.PrepareNodeProcessStartInfo Método

Definición

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.

Devoluciones

Se aplica a