OutOfProcessNodeInstance.PrepareNodeProcessStartInfo Metoda

Definice

Nakonfiguruje ProcessStartInfo instanci popisující, jak spustit proces 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

Parametry

entryPointFilename
String

Soubor JavaScriptu vstupního bodu, který by měl spustit proces Node.js.

projectPath
String

Kořenová cesta projektu. Používá se při vyhledání Node.js modulů vzhledem ke kořenovému adresáři projektu.

commandLineArguments
String

Argumenty příkazového řádku, které se mají předat Node.js procesu.

environmentVars
IDictionary<String,String>

Proměnné prostředí, které se mají nastavit v procesu Node.js

launchWithDebugging
Boolean

Pokud ano, předá příznak procesu Node.js s oznámením, že má přijímat připojení nástroje V8 Inspector.

debuggingPort
Int32

Pokud je ladění povolené, měl by proces Node.js naslouchat připojení inspektoru V8 na tomto portu.

Návraty

ProcessStartInfo

Platí pro