Skip to content

Commit

Permalink
Debug message
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Zeithaml <[email protected]>
  • Loading branch information
Martin-Zeithaml committed Nov 7, 2024
1 parent fa7bf29 commit db2adba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/initUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ function readPortFromUnixConfig(configFile, regex) {
if (matchLine) {
const portNumber = parseInt(matchLine[0].replace(/\s+/g, " ").split(' ')[1]);
if (portNumber > 0 && portNumber < 65536) {
result = portNumber;
printFormattedDebug(`readPortFromUnixConfig: ${configFile} -> "${matchLine[0]}" -> ${portNumber}`);
result = portNumber;
}
}
}
Expand Down

0 comments on commit db2adba

Please sign in to comment.