Skip to content

Commit a0e8193

Browse files
committed
close #100
1 parent 18febc8 commit a0e8193

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ This xrDebug PHP client uses the following default configuration.
5050
'host' => 'localhost',
5151
'port' => 27420,
5252
'key' => '',
53-
'localPath' => '/Users/<name>/Code', # C:\Users\<name>\Documents\Code on Windows
54-
'remotePath' => '/home/vagrant/Code',
53+
'localPath' => '',
54+
'remotePath' => '',
5555
]
5656
```
5757

@@ -65,7 +65,13 @@ This xrDebug PHP client uses the following default configuration.
6565
| localPath | string | Local path to project root |
6666
| remotePath | string | Remote path to project root |
6767

68-
> `host`: The hostname or IP. When running xrDebug on Docker use `host.docker.internal`.
68+
- `host`: When running xrDebug on Docker use `host.docker.internal`.
69+
- `localPath` `remotePath`: When using xrDebug on a remote machine or Docker, set these properties to enable file links. `localPath` is the path to your project on your machine, while `remotePath` is the path to the same project on the remote machine or Docker.
70+
71+
```php
72+
'localPath' => '/Users/<name>/Code', # C:\Users\<name>\Documents\Code on Windows
73+
'remotePath' => '/home/vagrant/Code',
74+
```
6975

7076
### File-based config
7177

0 commit comments

Comments
 (0)