The SpECTRE code lives on GitHub in the sxs-collaboration/spectre repository. If you would like to jump right into a working development environment, read on! If you prefer setting up your development environment differently, we suggest you read the Installation page. This is a particularly quick way to get up and running with SpECTRE code development, though of course not the only way. You can copy launch.json file from here.This page describes how to get started developing SpECTRE on Mac, Linux, or Windows using Docker and the Visual Studio Code editor. If you are using vscode IDE, than check your port in launch.json file. Sadly I have not been able to figure out the exact issue but will update this post when I migrate over to our new WSL environment. A colleague has tried a pure WSL setup without the docker(desktop) layer and got it working there. I know this because we confirmed XDebug makes a connection with vscode but then appears to break somewhere along the way. But still not for me, I have also reinstalled vscode, removed all extensions (total reset) but still no luck.įYI - The problem is probably Docker / Docker Desktop, I tried looking into downgrading but firstly you would have to go back in version quite far and below 4 is not listed anymore on the website. UPDATE 1:1200 - I have migrated to our new WSL environment and xdebug + phpdebug works for two other dev's in vscode. So you can know that it is your environment that is the problem. Either WSL or maybe something like Xampp or Laragon just for quick testing purposes. So if you are using Docker I would recommend you to check your environment for issues or try switching to something else. RUN docker-php-ext-install mysqli pdo pdo_mysql zip mbstring simplexml domĬOPY credentials.aws /var/www/.aws/credentials RUN apt-get update & apt-get install -y \ Maybe because of a VSCode or PHP Debug plugin update?īut so far I have been unable to get it working or get it working only half? I switched over to an Xdebug 3 config to try it out, since 2.9 appears to have stopped working for me. So first of all since October for some reason my previously working Xdebug config for VSCode + Docker stopped working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |