Skip to content

Commit aef03dd

Browse files
WIP
1 parent 823071d commit aef03dd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/utils/getDebuggerStartCommand.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,17 @@ export function getDebuggerStartCommand(folder: string, args: string[]) {
1717

1818
args.push('-v');
1919

20-
let command = `node ${testMonorepo ? '' : '../../'}dist/lldebugger.mjs ${args?.join(' ')}`;
20+
let command: string;
2121

2222
if (process.env.REAL_NPM === 'true') {
2323
console.log('Running the debugger with the real NPM');
2424
command = `lld ${args?.join(' ')}`;
2525
} else {
26+
command = `node ${testMonorepo ? '' : '../../'}dist/lldebugger.mjs ${args?.join(' ')}`;
2627
console.log('Running the debugger with just genereted code');
2728
}
29+
console.log(`Command to run LLD: ${command}`);
30+
console.log(`Current folder: ${import.meta.dirname}`);
31+
2832
return command;
2933
}

0 commit comments

Comments
 (0)