How to config Tracy with IDE

- nightfish
- Member | 528
@alnux You did not mention which IDE you are using, so I'll demonstrate it with PHPStorm.
Just put
Tracy\Debugger::$editor = 'phpstorm://open?file=%file&line=%line';
into your index.php or bootstrap.
If you based your project on nette/web-project, I would suggest
putting it into www/index.php after
require __DIR__ . '/../vendor/autoload.php'; – https://github.com/…ww/index.php#L6

- alnux
- Member | 139
nightfish wrote:
@alnux You did not mention which IDE you are using, so I'll demonstrate it with PHPStorm.
Just put
Tracy\Debugger::$editor = 'phpstorm://open?file=%file&line=%line';into your index.php or bootstrap.If you based your project on
nette/web-project, I would suggest putting it intowww/index.phpafterrequire __DIR__ . '/../vendor/autoload.php';– https://github.com/…ww/index.php#L6
Im using VS code