OutOfProcessNodeInstance.PrepareNodeProcessStartInfo Method

Definition

Configures a ProcessStartInfo instance describing how to launch the Node.js process.

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

Parameters

entryPointFilename
String

The entrypoint JavaScript file that the Node.js process should execute.

projectPath
String

The root path of the project. This is used when locating Node.js modules relative to the project root.

commandLineArguments
String

Command-line arguments to be passed to the Node.js process.

environmentVars
IDictionary<String,String>

Environment variables to be set on the Node.js process.

launchWithDebugging
Boolean

If true, passes a flag to the Node.js process telling it to accept V8 Inspector connections.

debuggingPort
Int32

If debugging is enabled, the Node.js process should listen for V8 Inspector connections on this port.

Returns

Applies to