Skip to content

Commit

Permalink
debugger ports from 35000 (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
t4lz authored Jul 18, 2023
1 parent cbb862e commit c6ff9b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/+debugger-ports-35000.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ignored debugger port range starts from 35000: mirrord will not touch connections to ports above 35000.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ object MirrordExecManager {
val executionInfo = MirrordApi.exec(cli, target, getConfigPath(project), executable, project, wslDistribution)

executionInfo?.let {
executionInfo.environment["MIRRORD_IGNORE_DEBUGGER_PORTS"] = "45000-65535"
executionInfo.environment["MIRRORD_IGNORE_DEBUGGER_PORTS"] = "35000-65535"
return Pair(executionInfo.environment.toImmutableMap(), executionInfo.patchedPath)
}
return null
Expand Down

0 comments on commit c6ff9b1

Please sign in to comment.