From f9e979a655d2325614014103194f5e79a4948621 Mon Sep 17 00:00:00 2001 From: Ian Dunkelberg Date: Mon, 11 Sep 2023 16:55:35 -0700 Subject: [PATCH 1/5] Update README.md --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index ce2b495..d5bf052 100644 --- a/README.md +++ b/README.md @@ -31,3 +31,24 @@ location /ws { ## Developing Frontend build requires a bunch of javascript stuff. To do it without installing a bunch of javascript stuff, install podman and use `build-frontend.sh` +# Debugger +TO add a debugger to the project you'll need to set one up. +if you're using VS Code you'll want to download the PHP Debug extension https://marketplace.visualstudio.com/items?itemName=xdebug.php-debug +to get started with xdebug you'll want to isntall xdebug. +I highly recommend you make a simple test.php file, put a phpinfo(); statement in there, then copy the output and paste it into the Xdebug installation wizard (https://xdebug.org/wizard.php). +It will analyze it and give you tailored installation instructions for your environment. + +After xdebug is installed you need to get php configured to use xdebug. +Do this by following the steps here https://xdebug.org/docs/install#configure-php + +for debugging on a remote machine you need to modify the php.ini you found in the last step. + + +For Xdebug v3.x.x You'll need to edit the php.ini to add: + +xdebug.mode = debug +xdebug.start_with_request = yes + +this should prompt the debugger to start when it first encounters a breakpoint + + From 5e8a3ce5143497f90d5794c35caf1bee0748c1bb Mon Sep 17 00:00:00 2001 From: Ian Dunkelberg Date: Mon, 11 Sep 2023 16:56:00 -0700 Subject: [PATCH 2/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d5bf052..39bfa26 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ location /ws { ## Developing Frontend build requires a bunch of javascript stuff. To do it without installing a bunch of javascript stuff, install podman and use `build-frontend.sh` -# Debugger +### Debugger TO add a debugger to the project you'll need to set one up. if you're using VS Code you'll want to download the PHP Debug extension https://marketplace.visualstudio.com/items?itemName=xdebug.php-debug to get started with xdebug you'll want to isntall xdebug. From c858285fffbbd1ffa182c655c2ba93df4a780263 Mon Sep 17 00:00:00 2001 From: Ian Dunkelberg Date: Mon, 11 Sep 2023 16:56:28 -0700 Subject: [PATCH 3/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 39bfa26..e32a9b1 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ location /ws { ## Developing Frontend build requires a bunch of javascript stuff. To do it without installing a bunch of javascript stuff, install podman and use `build-frontend.sh` -### Debugger +## Debugger TO add a debugger to the project you'll need to set one up. if you're using VS Code you'll want to download the PHP Debug extension https://marketplace.visualstudio.com/items?itemName=xdebug.php-debug to get started with xdebug you'll want to isntall xdebug. From 82170b891e25100c65110e53ef480d1c77cf01fd Mon Sep 17 00:00:00 2001 From: Ian Dunkelberg Date: Wed, 20 Sep 2023 12:46:43 -0700 Subject: [PATCH 4/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e32a9b1..d558430 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,9 @@ location /ws { ## Developing Frontend build requires a bunch of javascript stuff. To do it without installing a bunch of javascript stuff, install podman and use `build-frontend.sh` ## Debugger -TO add a debugger to the project you'll need to set one up. +To add a debugger to the project you'll need to set one up. if you're using VS Code you'll want to download the PHP Debug extension https://marketplace.visualstudio.com/items?itemName=xdebug.php-debug -to get started with xdebug you'll want to isntall xdebug. +to get started with xdebug you'll want to install xdebug. I highly recommend you make a simple test.php file, put a phpinfo(); statement in there, then copy the output and paste it into the Xdebug installation wizard (https://xdebug.org/wizard.php). It will analyze it and give you tailored installation instructions for your environment. From f8feab9e194752b7f03db649bd40cd271418ba1d Mon Sep 17 00:00:00 2001 From: Thomas Ryan Date: Fri, 3 May 2024 13:04:59 -0700 Subject: [PATCH 5/5] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d558430..3870178 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,12 @@ location /ws { ## Developing Frontend build requires a bunch of javascript stuff. To do it without installing a bunch of javascript stuff, install podman and use `build-frontend.sh` +1. Use VSCode, install the SSH manager extenion. +2. SSH into the dev box from VSCode to the webtexting folder. Talk to Dan to get your SSH credentials setup. +3. Make your changes. +4. Publish those changes so you can play with them, by building the front end. In a terminal from the the webtexting folder, run the command ./build-frontend.sh. +6. Once the build completes you can see you changes on FusionPBX dev site, you maybe need to refresh/log out and log in. + ## Debugger To add a debugger to the project you'll need to set one up. if you're using VS Code you'll want to download the PHP Debug extension https://marketplace.visualstudio.com/items?itemName=xdebug.php-debug