OutOfProcessNodeInstance.PrepareNodeProcessStartInfo Metoda

Definicja

Konfiguruje ProcessStartInfo wystąpienie opisujące sposób uruchamiania procesu 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

Plik JavaScript punktu wejścia, który powinien zostać wykonany przez proces Node.js.

projectPath
String

Ścieżka główna projektu. Jest to używane podczas lokalizowania modułów Node.js względem katalogu głównego projektu.

commandLineArguments
String

Argumenty wiersza polecenia, które mają być przekazywane do procesu Node.js.

environmentVars
IDictionary<String,String>

Zmienne środowiskowe do ustawienia w procesie Node.js.

launchWithDebugging
Boolean

Jeśli wartość true, przekazuje flagę do procesu Node.js informującego go o zaakceptowaniu połączeń inspektora V8.

debuggingPort
Int32

Jeśli debugowanie jest włączone, proces Node.js powinien nasłuchiwać połączeń inspektora V8 na tym porcie.

Zwraca

Dotyczy