Skip to content

Commit 7be7d30

Browse files
authored
Output running debug commands to the channel (#102)
1 parent ac9930e commit 7be7d30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/extension.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,7 @@ class RdbgAdapterDescriptorFactory implements DebugAdapterDescriptorFactory {
747747
};
748748

749749
private async runDebuggeeWithUnix(debugConsole: vscode.DebugConsole, cmd: string, args?: string[] | undefined, options?: child_process.SpawnOptionsWithoutStdio) {
750+
pp(`Running: ${cmd} ${args?.join(' ')}`);
750751
let connectionReady = false;
751752
let sockPath = '';
752753
let stderr = '';
@@ -781,6 +782,7 @@ class RdbgAdapterDescriptorFactory implements DebugAdapterDescriptorFactory {
781782
private readonly TCPRegex = /DEBUGGER:\sDebugger\scan\sattach\svia\s.+\((.+):(\d+)\)/;
782783

783784
private async runDebuggeeWithTCP(debugConsole: vscode.DebugConsole, cmd: string, args?: string[] | undefined, options?: child_process.SpawnOptionsWithoutStdio) {
785+
pp(`Running: ${cmd} ${args?.join(' ')}`);
784786
let connectionReady = false;
785787
let host = '';
786788
let port = -1;

0 commit comments

Comments
 (0)