Skip to content

Commit b8021f4

Browse files
committed
Temporarily make error more verbose to figure out why test is failing
1 parent 887de1b commit b8021f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices/Services/DebugAdapter/Handlers/LaunchAndAttachHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ await _executionService.ExecutePSCommandAsync(
427427
}
428428
catch (Exception e)
429429
{
430-
string msg = $"Could not attach to process with ID: {processId}";
430+
string msg = $"Could not attach to process with ID: {processId} - {e.Message}\n{e.StackTrace}";
431431
_logger.LogError(e, msg);
432432
throw new RpcErrorException(0, null, msg);
433433
}

0 commit comments

Comments
 (0)