Skip to content

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