Title: Passthrough args via `--`? · Issue #59 · wp-cli/server-command · GitHub
Open Graph Title: Passthrough args via `--`? · Issue #59 · wp-cli/server-command
X Title: Passthrough args via `--`? · Issue #59 · wp-cli/server-command
Description: Feature Request Yes, I reviewed the contribution guidelines. Describe your use case and the problem you are facing I want to load Xdebug module into the web server via php -S -dzend_extension=xdebug.so. Describe the solution you'd like w...
Open Graph Description: Feature Request Yes, I reviewed the contribution guidelines. Describe your use case and the problem you are facing I want to load Xdebug module into the web server via php -S -dzend_extension=xdebu...
X Description: Feature Request Yes, I reviewed the contribution guidelines. Describe your use case and the problem you are facing I want to load Xdebug module into the web server via php -S -dzend_extension=xdebu...
Opengraph URL: https://github.com/wp-cli/server-command/issues/59
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Passthrough args via `--`?","articleBody":"## Feature Request\r\n\r\n- [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/).\r\n\r\n**Describe your use case and the problem you are facing**\r\n\r\nI want to load Xdebug module into the web server via `php -S -dzend_extension=xdebug.so`.\r\n\r\n**Describe the solution you'd like**\r\n\r\n`wp server` could pass through additional arguments to `php` after `--` argument.\r\n\r\nExample: `wp server --docroot=public -- -dzend_extension=xdebug.so`\r\n\r\nDoing this via `wp server --config` argument is problematic, because I want to define universally usable commands centrally in `composer.json` scripts. Due to variety of INI configuration file locations on user's system, which we actually don't want to replace, this doesn't seem to be achievable with a single `--config` argument.","author":{"url":"https://github.com/lkraav","@type":"Person","name":"lkraav"},"datePublished":"2019-10-25T08:24:41Z","url":"https://github.com/wp-cli/server-command/issues/59"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8afe4205-8553-ba10-7841-fd0d0d594591 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A16E:1E2459:13A5F0C:1B7FE59:6AFA27DF |
| html-safe-nonce | 5aab94e0d9b3c06c6c358374921579be07fbe96b91711a4ac7f27a848c03fff0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTZFOjFFMjQ1OToxM0E1RjBDOjFCN0ZFNTk6NkFGQTI3REYiLCJ2aXNpdG9yX2lkIjoiNDAyNjIwNTg0OTQ4MjA0NTQwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6ffb13760e2b95ac516a00e20497aa00bf5a81f864e9b8ec6fedf45cae3885f1 |
| hovercard-subject-tag | issue:512375041 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/wp-cli/server-command/59/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0042ab214ca0c2b8bd3bb750696c6a23f5a934d291097eee5f5a7c3045d76c13/wp-cli/server-command/issues/59 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0042ab214ca0c2b8bd3bb750696c6a23f5a934d291097eee5f5a7c3045d76c13/wp-cli/server-command/issues/59 |
| og:image:alt | Feature Request Yes, I reviewed the contribution guidelines. Describe your use case and the problem you are facing I want to load Xdebug module into the web server via php -S -dzend_extension=xdebu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lkraav |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/wp-cli/server-command git https://github.com/wp-cli/server-command.git |
| octolytics-dimension-user_id | 1570774 |
| octolytics-dimension-user_login | wp-cli |
| octolytics-dimension-repository_id | 11974328 |
| octolytics-dimension-repository_nwo | wp-cli/server-command |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 11974328 |
| octolytics-dimension-repository_network_root_nwo | wp-cli/server-command |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width