瀏覽代碼

Document how to use a custom port for the manual test server.

As suggested at https://github.com/ckeditor/ckeditor5-dev/pull/626#issuecomment-620736291
Tomek Wytrębowicz 5 年之前
父節點
當前提交
6d01ba5eee
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      docs/framework/guides/contributing/testing-environment.md

+ 1 - 0
docs/framework/guides/contributing/testing-environment.md

@@ -57,6 +57,7 @@ The task accepts the following options:
 * `--files` – Specifies test files to run. Accepts a package name or a glob. For example `--files=ckeditor5` will run tests from the main repository. Read more about the [rules for converting the `--files` option to a glob pattern](https://github.com/ckeditor/ckeditor5-dev/tree/master/packages/ckeditor5-dev-tests#rules-for-converting---files-option-to-glob-pattern).
 * `--additionalLanguages="ar,pl,..."` – Specifies extra languages to the [CKEditor 5 webpack plugin](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-webpack-plugin). Check out the {@link features/ui-language UI language guide} to learn more.
 * `--debug` (alias `-d`) – Allows specifying custom debug flags. For example, the `--debug engine` option uncomments the `// @if CK_DEBUG_ENGINE //` lines in the code. Note that by default `--debug` is set to `true` even if you did not specify it. This enables the base set of debug logs (`// @if CK_DEBUG //`) which should always be enabled in the testing environment. You can completely turn off the debug mode by setting the `--debug false` option.
+* `--port` – Specifies the port for the server to use. Defaults to `8125`.
 
 It starts the server available at http://localhost:8125.