Allow devs to directly open profiler links in php storm IDE #2
2
.env.dev
2
.env.dev
@ -11,3 +11,5 @@ MAILER_URL=smtp://smtp:1025
|
|||||||
PGADMIN_DEFAULT_EMAIL=admin@chill.social
|
PGADMIN_DEFAULT_EMAIL=admin@chill.social
|
||||||
PGADMIN_DEFAULT_PASSWORD=password
|
PGADMIN_DEFAULT_PASSWORD=password
|
||||||
|
|
||||||
|
## Phpstorm IDE project path
|
||||||
|
PROJECT_DIR=
|
||||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -9,6 +9,7 @@ config/secrets/
|
|||||||
|
|
||||||
## env files
|
## env files
|
||||||
.env.local
|
.env.local
|
||||||
|
.env.dev.local
|
||||||
|
|
||||||
.composer/*
|
.composer/*
|
||||||
composer.phar
|
composer.phar
|
||||||
@ -49,17 +50,18 @@ phpunit.xml
|
|||||||
nbproject/*
|
nbproject/*
|
||||||
|
|
||||||
.idea
|
.idea
|
||||||
|
.ignore
|
||||||
|
|
||||||
### template/api/specs.yaml should be compiled
|
### template/api/specs.yaml should be compiled
|
||||||
templates/api/specs.yaml
|
templates/api/specs.yaml
|
||||||
|
|
||||||
|
|
||||||
###> symfony/webpack-encore-bundle ###
|
###> symfony/webpack-encore-bundle ###
|
||||||
/node_modules/
|
/node_modules/
|
||||||
/public/build/
|
/public/build/
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
yarn-error.log
|
yarn-error.log
|
||||||
###< symfony/webpack-encore-bundle ###
|
###< symfony/webpack-encore-bundle ###
|
||||||
|
|
||||||
###> symfony/phpunit-bridge ###
|
###> symfony/phpunit-bridge ###
|
||||||
.phpunit
|
.phpunit
|
||||||
.phpunit.result.cache
|
.phpunit.result.cache
|
||||||
|
@ -3,3 +3,10 @@ framework:
|
|||||||
# allow to debug from ngrok, useful for webhooks coming from outside:
|
# allow to debug from ngrok, useful for webhooks coming from outside:
|
||||||
- '^(.+\.)?ngrok\.io$'
|
- '^(.+\.)?ngrok\.io$'
|
||||||
- 'nginx'
|
- 'nginx'
|
||||||
|
|
||||||
|
## Open files in phpstorm IDE from profiler links
|
||||||
|
# ref: https://symfony.com/doc/current/reference/configuration/framework.html#ide
|
||||||
|
# need: https://github.com/sanduhrs/phpstorm-url-handler/blob/master/phpstorm-url-handler
|
||||||
|
# set var in file .env.dev.local (PROJECT_DIR=<relative path from home folder>)
|
||||||
|
ide: 'phpstorm://open?file=%%f&line=%%l&/var/www/app/>%env(resolve:PROJECT_DIR)%'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user