Skip to content

Commit ca254bc

Browse files
author
PEZ
committed
Debug launch args
1 parent 6e00ba6 commit ca254bc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

e2e-test-ws/launch.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,16 @@ async function main(vsixPathOrLabel, testWorkspace) {
4848
'--force',
4949
];
5050
if (vsixPathOrLabel !== 'extension-development') {
51-
const vsixPath = path.resolve('./', vsixPathOrLabel);
52-
launchArgs.push('--install-extension', vsixPath);
51+
launchArgs.push('--install-extension', vsixPathOrLabel);
5352
}
5453

55-
cp.spawnSync(cliPath, launchArgs, {
54+
console.log('CLI Path:', cliPath);
55+
console.log('Launch Args:', launchArgs);
56+
const result = cp.spawnSync(cliPath, launchArgs, {
5657
encoding: 'utf-8',
5758
stdio: 'inherit',
5859
});
60+
console.log('Spawn result:', result);
5961

6062
const runOptions = {
6163
// When debugging tests, it can be good to use the development version Joyride

0 commit comments

Comments
 (0)