Rank: Administration
Groups: AcademicCoachingSchool, admin, Administration, BookSeller, CatholicSchool, CoachingAdult, CoachingProfessional, CoachingSports, ExtraCurriculumCoaching, IndependentSchool, Moderator, MusicTeacher, PrivateSchool, PublicSchool, SelectiveSchool, tutor Joined: 23/11/2008(UTC) Posts: 523
|
Debug PHP scripts and websites locally and remotely in PhpStorm
1. Setup server. Within PhpStorm, Settings > language & Frameworks > Servers, add local and / or remote servers, choose a debugger, eg. xdebug, select port 80, uncheck “use path mappings”.
2. Set up debug configurations, choose script or web app.
3. Ensure remote debug is enabled. Wamp, lamp > PHP > PHP Settings > check (XDebug): Remote debug, (XDebug): Profiler, (XDebug): Profiler Enable Trigger. If some settings are still not checked, change teh settings in php.ini file if necessary.
|