Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions packages/playground/cli/src/run-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ export async function parseOptionsAndRunCLI() {
currentError = currentError.cause as Error;
} while (currentError instanceof Error);
console.error(
'\x1b[1m' + messageChain.join(' caused by ') + '\x1b[0m'
'\x1b[1m' + messageChain.join(' caused by: ') + '\x1b[0m'
);
}
process.exit(1);
Expand Down Expand Up @@ -713,19 +713,27 @@ export async function runCLI(args: RunCLIArgs): Promise<RunCLIServer | void> {
if (hasVSCode) {
console.log(bold('VS Code / Cursor instructions:'));
console.log(
' 1. Open the Run and Debug panel on the left sidebar'
' 1. Ensure you have installed an IDE extension for PHP Debugging'
);
console.log(
` 2. Select "${italic(
` (The ${bold('PHP Debug')} extension by ${bold(
'Xdebug'
)} has been a solid option)`
);
console.log(
' 2. Open the Run and Debug panel on the left sidebar'
);
console.log(
` 3. Select "${italic(
IDEConfigName
)}" from the dropdown`
);
console.log(' 3. Click "start debugging"');
console.log(
' 4. Set a breakpoint. For example, in .playground-xdebug-root/wordpress/index.php'
' 5. Set a breakpoint. For example, in .playground-xdebug-root/wordpress/index.php'
);
console.log(
' 5. Visit Playground in your browser to hit the breakpoint'
' 6. Visit Playground in your browser to hit the breakpoint'
);
if (hasPhpStorm) {
console.log('');
Expand Down