Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hyperlinks #165

Open
wants to merge 1 commit into
base: 1.x
Choose a base branch
from

Conversation

aaa2000
Copy link

@aaa2000 aaa2000 commented Feb 13, 2025

Turns file paths seen in Saved Source Files into links that open those files right inside your browser

Enable the Zenstruck\Browser\Test\BrowserExtension extension .
Configure the file link format with the environment variable BROWSER_FILE_LINK_FORMAT, the default value is file://%f#L%l

Can be overloaded in the phpunit.xml.dist for example

<server name="BROWSER_FILE_LINK_FORMAT" value="'file://%f#L%l"/>

Useful when running your app in a container or in a virtual machine, see Symfony doc https://symfony.com/doc/current/reference/configuration/framework.html#ide

Turns file paths seen in `Saved Source Files` into links that open those files right inside your browser

Enable the `Zenstruck\Browser\Test\BrowserExtension` extension
Configure the file link format with the environment variable `BROWSER_FILE_LINK_FORMAT`, the default value is `file://%f#L%l`

Can be overloaded in the `phpunit.xml.dist` for example

```
<server name="BROWSER_FILE_LINK_FORMAT" value="'file://%f#L%l"/>
```

iUseful when running your app in a container or in a virtual machine, see Symfony doc https://symfony.com/doc/current/reference/configuration/framework.html#ide
@aaa2000 aaa2000 force-pushed the fix-163-add-hyperlinks-to-artifacts branch from 15b0075 to 910a290 Compare February 13, 2025 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant