{"id":14954862,"url":"https://github.com/wordpress/playground-tools","last_synced_at":"2025-04-01T04:52:49.404Z","repository":{"id":171250047,"uuid":"647195011","full_name":"WordPress/playground-tools","owner":"WordPress","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-28T08:50:18.000Z","size":432376,"stargazers_count":159,"open_issues_count":135,"forks_count":42,"subscribers_count":14,"default_branch":"trunk","last_synced_at":"2025-03-27T22:42:36.697Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WordPress.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-30T09:02:59.000Z","updated_at":"2025-03-25T14:28:37.000Z","dependencies_parsed_at":"2023-12-25T13:50:10.613Z","dependency_job_id":"0ba54fe1-9fd0-4d12-a174-5afbf52db5c8","html_url":"https://github.com/WordPress/playground-tools","commit_stats":{"total_commits":965,"total_committers":47,"mean_commits":20.53191489361702,"dds":"0.38238341968911915","last_synced_commit":"616f6cb861b37495e23efc9c3654f9cd53d1f1fa"},"previous_names":["wordpress/playground-tools"],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2Fplayground-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2Fplayground-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2Fplayground-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2Fplayground-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WordPress","download_url":"https://codeload.github.com/WordPress/playground-tools/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246586047,"owners_count":20801026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:10:04.481Z","updated_at":"2025-04-01T04:52:49.374Z","avatar_url":"https://github.com/WordPress.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress Playground tools\n\nThis repository contains the tools and applications built using [WordPress Playground](https://developer.wordpress.org/playground/):\n\n-   [Playground plugin for WordPress to clone your site](./packages/playground/)\n-   [Playground Block for Gutenberg](./packages/wordpress-playground-block/)\n-   [WordPress Playground for Visual Studio Code](./packages/vscode-extension/)\n-   [\"Edit Visually\" Browser extension powered by WordPress Playground](./packages/edit-visually-browser-extension/)\n-   [wp-now](./packages/wp-now/)\n\nIf you were looking for the Playground itself, you can find it here: [WordPress Playground](https://developer.wordpress.org/playground/)\n\n## Contributing\n\nPlayground Tools are in their early days. If the feature you need is missing, you are more than welcome to start a discussion, [open an issue](https://github.com/WordPress/playground-tools/issues), and even propose a Pull Request to implement it.\n\n## Getting started\n\nClone the repo and build the projects:\n\n```bash\ngit clone https://github.com/WordPress/playground-tools\ncd playground-tools\nnpm install\nnpm run build\n# or `npm run dev` to watch for changes\n```\n\nYou'll find the built assets in the dist directory. You can make changes, run the VS Code extension or install the interactive code plugin, and test them.\n\n## Debug Flags\n\nThe following flags are available on the `wp-now` cli tool to aid in debugging:\n\n-   `--inspect` - Connect to a Node debugging client.\n-   `--inspect-brk` - Connect to a Node debugging client, break immediately on script execution start.\n-   `--trace-exit` - Prints a stack trace whenever an environment is exited proactively, i.e. invoking process.exit().\n-   `--trace-uncaught` - Print stack traces for uncaught exceptions; usually, the stack trace associated with the creation of an Error is printed, whereas this makes Node.js also print the stack trace associated with throwing the value (which does not need to be an Error instance).\n-   `--trace-warnings` - Print stack traces for process warnings (including deprecations).\n\n### Usage:\n\n```bash\nnpx wp-now start [FLAGS]\n```\n\n### Connecting to DevTools\n\nWhen connecting to DevTools with `--inspect` or `--inspect-brk`, the NodeJS debug icon should appear in green at the top left of the DevTools window, click on it.\n\n![image](https://github.com/WordPress/playground-tools/assets/640101/3e5d2016-2088-432b-8312-5334a639662b)\n\nYou should see the step-debugger open, with the script paused on the first line if `--inspect-brk` was selected:\n\n![image](https://github.com/WordPress/playground-tools/assets/640101/5f3217d0-f447-44a1-9e72-c501359d9f2a)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress%2Fplayground-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwordpress%2Fplayground-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress%2Fplayground-tools/lists"}