 79074be926
			
		
	
	79074be926
	
	
	
		
			
			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>
		
			
				
	
	
		
			7 lines
		
	
	
		
			202 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			202 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| COMMAND=`which $1`;
 | |
| shift 1
 | |
| 
 | |
| 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 "$@"
 |