Partilhar via


OutOfProcessNodeInstance.PrepareNodeProcessStartInfo Método

Definição

Configura uma ProcessStartInfo instância que descreve como iniciar o processo 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

O arquivo JavaScript do ponto de entrada que o processo de Node.js deve executar.

projectPath
String

O caminho raiz do projeto. Isso é usado ao localizar Node.js módulos relativos à raiz do projeto.

commandLineArguments
String

Argumentos de linha de comando a serem passados para o processo de Node.js.

environmentVars
IDictionary<String,String>

Variáveis de ambiente a serem definidas no processo de Node.js.

launchWithDebugging
Boolean

Se true, passa um sinalizador para o processo de Node.js informando-o para aceitar conexões do Inspetor V8.

debuggingPort
Int32

Se a depuração estiver habilitada, o processo de Node.js deverá escutar as conexões do Inspetor V8 nessa porta.

Retornos

Aplica-se a