Skip to content

Commit 6d11caa

Browse files
authored
Merge pull request #1928 from digeff/remove_dollar_sign
Remove incorrect $ from the port
2 parents 0ae8f05 + cc0a7c3 commit 6d11caa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Nodejs/Product/Nodejs/Project/NodejsProjectLauncher.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ private void StartWithChromeV2Debugger(string file, string nodePath, bool startB
247247

248248
var runtimeArguments = ConvertArguments(this._project.GetProjectProperty(NodeProjectProperty.NodeExeArguments));
249249
// If we supply the port argument we also need to manually add --inspect-brk=port to the runtime arguments
250-
runtimeArguments = runtimeArguments.Append($"--inspect-brk=${debuggerPort}");
250+
runtimeArguments = runtimeArguments.Append($"--inspect-brk={debuggerPort}");
251251
var scriptArguments = ConvertArguments(this._project.GetProjectProperty(NodeProjectProperty.ScriptArguments));
252252

253253
var cwd = _project.GetWorkingDirectory(); // Current working directory

Nodejs/Product/Nodejs/Workspace/LaunchDebugTargetProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected static string GetJsonConfigurationForInspectProtocol(string target, st
6464
var debuggerPort = debugLaunchContext.LaunchConfiguration.GetValue(DebuggerPortKey, defaultValue: NodejsConstants.DefaultDebuggerPort);
6565
var runtimeArguments = ConvertArguments(debugLaunchContext.LaunchConfiguration.GetValue<string>(NodeArgsKey, defaultValue: null));
6666
// If we supply the port argument we also need to manually add --inspect-brk=port to the runtime arguments
67-
runtimeArguments = runtimeArguments.Append($"--inspect-brk=${debuggerPort}");
67+
runtimeArguments = runtimeArguments.Append($"--inspect-brk={debuggerPort}");
6868
var scriptArguments = ConvertArguments(debugLaunchContext.LaunchConfiguration.GetValue<string>(ScriptArgsKey, defaultValue: null));
6969

7070
var configuration = new JObject(

0 commit comments

Comments
 (0)