Skip to content

Commit

Permalink
fix: require env XSBUG_HOST=localhost to enable debug connection
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Feb 7, 2022
1 parent d2c13fa commit ac327f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xsnap/sources/xsnapPlatform.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ void fxConnect(txMachine* the)
}
}
else {
strcpy(name, "localhost");
port = 5002;
// Require XSBUG_HOST to be set for debugging.
return;
}
memset(&address, 0, sizeof(address));
address.sin_family = AF_INET;
Expand Down

0 comments on commit ac327f0

Please sign in to comment.