Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.63 KB

CONTRIBUTING.md

File metadata and controls

35 lines (23 loc) · 1.63 KB

CONTRIBUTING

To take part of the Development we recommend you to use the following tools

Run from Visual Studio Code

This project comes with a tasks.json for VSC (Visual Studio Code).
It uses the built-in web server from PHP >= 5.4

These are the steps on how to run the project

  • press F1 and type "task" followed by "Run PHP Server"
  • Open the URL http://localhost:5000 in your favorite browser

Run from docker

Alternatively, you can use docker to populate the website incl. xdebug

Debugging with Visual Studio Code

For debugging purposes Visual Studio Code uses the launch.json with xdebug.

  • Install the PHP Debug extension for vscode
  • Open the "Debug" panel (Ctrl + Shift + D) and select "Listen for XDebug" or "Listen for XDebug (docker)" for docker configuration
  • Pick a breakpoint on the file you which to debug
  • Refresh the webpage

More details on how to debug PHP (using xdebug) please read here