Add more notes about debugging symbols in README [skip ci]

This commit is contained in:
Shivam Mathur 2024-02-22 11:25:40 +05:30
parent 765279d5ef
commit 1a5ac4aa9a

View File

@ -559,6 +559,11 @@ steps:
- Production release builds of PHP without debugging symbols are set up by default. - Production release builds of PHP without debugging symbols are set up by default.
- You can use the `debug` environment variable to set up a build with debugging symbols for PHP 5.6 and above. - You can use the `debug` environment variable to set up a build with debugging symbols for PHP 5.6 and above.
**Notes**
- On Linux, the debug symbols are added as [debug info files](https://sourceware.org/gdb/current/onlinedocs/gdb.html/Separate-Debug-Files.html) in the `/usr/lib/debug/.build-id` directory. These files match the `build-id` in the ELF section of the PHP binaries and debugging tools like `gdb` are able to resolve the symbols from these files.
- On Windows, the debug symbols are added as `pdb` files in the PHP installation directory.
- On macOS, the debug symbols are compiled into the binaries.
```yaml ```yaml
steps: steps:
- name: Setup PHP with debugging symbols - name: Setup PHP with debugging symbols