@php-wasm/xdebug-bridge 3.1.19 → 3.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,7 +25,7 @@ import { startBridge } from './xdebug-bridge/src/start-bridge';
25
25
 
26
26
  // Start with custom configuration
27
27
  const server = startBridge({
28
- cdpHost: 'localhost', // CDP connection host
28
+ cdpHost: '127.0.0.1', // CDP connection host
29
29
  cdpPort: 9229, // CDP connection port
30
30
  dbgpPort: 9003, // XDebug connection port
31
31
  phpRoot: './', // Root to directory
@@ -49,22 +49,22 @@ npx xdebug-bridge --help
49
49
 
50
50
  ## Configuration Options (CLI)
51
51
 
52
- - `port`: Xdebug port to listen on (default: 9003)
53
- - `host`: Xdebug host to bind to (default: 'localhost')
54
- - `php-root`: Path to PHP root directory (default: './')
55
- - `verbosity`: Output logs and progress messages (choices: "quiet", "normal", "debug") (default: "normal")
56
- - `help`: Display help
52
+ - `port`: Xdebug port to listen on (default: 9003)
53
+ - `host`: Xdebug host to bind to (default: 'localhost')
54
+ - `php-root`: Path to PHP root directory (default: './')
55
+ - `verbosity`: Output logs and progress messages (choices: "quiet", "normal", "debug") (default: "normal")
56
+ - `help`: Display help
57
57
 
58
58
  ## Configuration Options (API)
59
59
 
60
- - `cdpPort`: Port to listen for CDP connections (default: 9229)
61
- - `cdpHost`: Host to bind to (default: 'localhost')
62
- - `dbgpPort`: Port to listen for XDebug connections (default: 9003)
63
- - `phpRoot`: Root path for php files
64
- - `verbosity`: Output logs and progress messages (choices: "quiet", "normal", "debug") (default: "normal")
65
- - `phpInstance`: PHP instance
66
- - `getPHPFile`: Custom file listing function
67
- - `breakOnFirstLine`: Breaks on the first breakable line
60
+ - `cdpPort`: Port to listen for CDP connections (default: 9229)
61
+ - `cdpHost`: Host to bind to (default: '127.0.0.1')
62
+ - `dbgpPort`: Port to listen for XDebug connections (default: 9003)
63
+ - `phpRoot`: Root path for php files
64
+ - `verbosity`: Output logs and progress messages (choices: "quiet", "normal", "debug") (default: "normal")
65
+ - `phpInstance`: PHP instance
66
+ - `getPHPFile`: Custom file listing function
67
+ - `breakOnFirstLine`: Breaks on the first breakable line
68
68
 
69
69
  ## Events
70
70
 
@@ -72,14 +72,14 @@ The bridge listens to events for monitoring connection activity:
72
72
 
73
73
  #### From Xdebug
74
74
 
75
- - `connected`: Xdebug Server has started
76
- - `disconnected`: Xdebug Server has stopped
77
- - `message`: Raw XDebug data received
78
- - `error`: Xdebug Server error occurred
75
+ - `connected`: Xdebug Server has started
76
+ - `disconnected`: Xdebug Server has stopped
77
+ - `message`: Raw XDebug data received
78
+ - `error`: Xdebug Server error occurred
79
79
 
80
80
  #### To Devtools
81
81
 
82
- - `clientConnected`: Devtools client connected
83
- - `clientDisconnected`: Devtools client disconnected
84
- - `message`: Raw Devtools data received
85
- - `error`: Devtools client error occurred
82
+ - `clientConnected`: Devtools client connected
83
+ - `clientDisconnected`: Devtools client disconnected
84
+ - `message`: Raw Devtools data received
85
+ - `error`: Devtools client error occurred
package/cli.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const i=require("./run-cli-DHPcno7N.cjs");i.main();
1
+ "use strict";const i=require("./run-cli-C15jrZ5h.cjs");i.main();
package/cli.js CHANGED
@@ -1,2 +1,2 @@
1
- import { m } from "./run-cli-EH0Eghg1.js";
1
+ import { m } from "./run-cli-Czgudx2V.js";
2
2
  m();
package/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./run-cli-DHPcno7N.cjs");exports.CDPServer=e.CDPServer;exports.DbgpSession=e.DbgpSession;exports.XdebugCDPBridge=e.XdebugCDPBridge;exports.main=e.main;exports.startBridge=e.startBridge;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./run-cli-C15jrZ5h.cjs");exports.CDPServer=e.CDPServer;exports.DbgpSession=e.DbgpSession;exports.XdebugCDPBridge=e.XdebugCDPBridge;exports.main=e.main;exports.startBridge=e.startBridge;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as e, D as r, X as g, m as i, s as D } from "./run-cli-EH0Eghg1.js";
1
+ import { C as e, D as r, X as g, m as i, s as D } from "./run-cli-Czgudx2V.js";
2
2
  export {
3
3
  e as CDPServer,
4
4
  r as DbgpSession,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/xdebug-bridge",
3
- "version": "3.1.19",
3
+ "version": "3.1.21",
4
4
  "description": "XDebug bridge server for PHP.wasm",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "license": "GPL-2.0-or-later",
41
41
  "types": "index.d.ts",
42
- "gitHead": "be542ee28a5966eeb28154cd8e3723db5ff9df07",
42
+ "gitHead": "5864051cbf4c2a55656112d99a3f1b076bcd67cd",
43
43
  "engines": {
44
44
  "node": ">=20.10.0",
45
45
  "npm": ">=10.2.3"
@@ -51,13 +51,13 @@
51
51
  "ini": "4.1.2",
52
52
  "jsonc-parser": "3.3.1",
53
53
  "wasm-feature-detect": "1.8.0",
54
- "ws": "8.18.3",
54
+ "ws": "8.18.0",
55
55
  "xml2js": "0.6.2",
56
56
  "yargs": "17.7.2",
57
- "@php-wasm/logger": "3.1.19",
58
- "@php-wasm/universal": "3.1.19",
59
- "@wp-playground/common": "3.1.19",
60
- "@php-wasm/node": "3.1.19"
57
+ "@php-wasm/logger": "3.1.21",
58
+ "@php-wasm/universal": "3.1.21",
59
+ "@wp-playground/common": "3.1.21",
60
+ "@php-wasm/node": "3.1.21"
61
61
  },
62
62
  "packageManager": "npm@10.9.2",
63
63
  "overrides": {
@@ -69,6 +69,7 @@
69
69
  "tmp": "0.2.5",
70
70
  "form-data": "^4.0.4",
71
71
  "lodash": "^4.17.23",
72
- "glob": "^9.3.0"
72
+ "glob": "^9.3.0",
73
+ "webpackbar": "^7.0.0"
73
74
  }
74
75
  }