百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

playground-tools

> 编程语言
开源

WordPress Playground 工具 此仓库包含使用 WordPress Playground 构建的工具和应用程序: - 适用于 WordPress 的 Playground 插件 - 适用于 WordPress 的 Playground 扩展 - 适用于 WordPress 的 Playground 组件 - 适用于 WordPress 的 Playground 服务 - 适用于 WordPress 的 Playground 服务器 - 适用于 WordPress 的 Playground 服务器

196 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

WordPress Playground 工具 此仓库包含使用 WordPress Playground 构建的工具和应用程序: - 适用于 WordPress 的 Playground 插件 - 适用于 WordPress 的 Playground 扩展 - 适用于 WordPress 的 Playground 组件 - 适用于 WordPress 的 Playground 服务 - 适用于 WordPress 的 Playground 服务器 - 适用于 WordPress 的 Playground 服务器

WordPress Playground tools

This repository contains the tools and applications built using WordPress Playground:

  • Playground plugin for WordPress to clone your site
  • Playground Block for Gutenberg
  • WordPress Playground for Visual Studio Code
  • "Edit Visually" Browser extension powered by WordPress Playground
  • wp-now

If you were looking for the Playground itself, you can find it here: WordPress Playground

Contributing

Playground 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, and even propose a Pull Request to implement it.

Getting started

Clone the repo and build the projects:

bash
git clone https://github.com/WordPress/playground-tools
cd playground-tools
npm install
npm run build
# or `npm run dev` to watch for changes

You'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.

Debug Flags

The following flags are available on the wp-now cli tool to aid in debugging:

  • --inspect - Connect to a Node debugging client.
  • --inspect-brk - Connect to a Node debugging client, break immediately on script execution start.
  • --trace-exit - Prints a stack trace whenever an environment is exited proactively, i.e. invoking process.exit().
  • --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).
  • --trace-warnings - Print stack traces for process warnings (including deprecations).

Usage:

bash
npx wp-now start [FLAGS]

Connecting to DevTools

When 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.

You should see the step-debugger open, with the script paused on the first line if --inspect-brk was selected:

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言