Skip to content

Commit

Permalink
Improve port occupied message
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao committed May 29, 2024
1 parent 3ea442c commit 945c64f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HLAdapter.hx
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ class HLAdapter extends DebugSession {
sendEvent(new TerminatedEvent());
stopDebug();
if( code == 4 ) {
var msg = "hl exit code 4, please check if the debug port " + port + " is already occupied.";
var msg = "hl exit code 4. Please check if the debug port " + port + " is already occupied, or specifiy a different port in launch configuration.";
errorMessage(msg);
#if vscode
Vscode.window.showErrorMessage(msg, {modal: true});
Expand Down

0 comments on commit 945c64f

Please sign in to comment.