Logo
Explore Help
Sign In
jjkiers/dotfiles
1
0
Fork 0
You've already forked dotfiles
Code Issues Pull Requests Releases Wiki Activity
dotfiles/bin/xdebug

7 lines
202 B
Plaintext
Raw Normal View History

Improve bin/xdebug to use command from path. It uses the `which` command to find the command that you actually want to run, and runs that. This makes it possible to run any php binary (like phpunit or phing) with xdebug. Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-27 12:25:03 +01:00
#!/usr/bin/env bash
Add XDebug launcher. Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-14 15:42:43 +01:00
Improve bin/xdebug to use command from path. It uses the `which` command to find the command that you actually want to run, and runs that. This makes it possible to run any php binary (like phpunit or phing) with xdebug. Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-27 12:25:03 +01:00
COMMAND=`which $1`;
shift 1
Add XDebug launcher. Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-14 15:42:43 +01:00
Improve bin/xdebug to use command from path. It uses the `which` command to find the command that you actually want to run, and runs that. This makes it possible to run any php binary (like phpunit or phing) with xdebug. Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-27 12:25:03 +01:00
PHP_IDE_CONFIG="serverName=sandbox" XDEBUG_CONFIG="idekey=PHPSTORM remote_host=127.0.0.1 remote_port=19000" php -d xdebug.remote_enable=1 $COMMAND "$@"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 90ms Template: 8ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API