- Create file phpdebug
chmod +x phpdebug
mv phpdebug /usr/bin/phpdebug
- Using:
phpdebug vagrant test.php
phpdebug yourServerName test.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
case "$1" in | |
work) | |
path="/home/myuser/Work/" | |
;; | |
flutter) | |
path="/home/myuser/Work/flutter/" | |
;; | |
esac |