Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/playground/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async function run() {
})
.option('debug', {
describe:
'Return PHP error log content if an error occurs while building the site.',
'Print PHP error log content if an error occurs during Playground boot.',
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Related discussion #1983 (comment)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! a --debug flag that doesn't cover the entire lifecycle of the app seems confusing to me. What do you think about either renameing it to --debug-boot or making it work after the boot?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will add request debugging. Here is an issue to track it #1988

type: 'boolean',
default: false,
})
Expand Down Expand Up @@ -215,6 +215,7 @@ async function run() {
php: args.php as SupportedPHPVersion,
wp: args.wp,
},
login: args.login,
};
}

Expand Down