Configuring VS Code to use Xdebug on Drupal VM on WindowsSettings up xdebug on MAMP PROPHPStorm unable to make external connection with xdebugInstalling xdebug using “pecl install xdebug” on xamppHow do you format code in Visual Studio Code (VSCode)How do I collapse sections of code in Visual Studio Code for Windows?Unable to setup xdebug for PHP in IntellijOpen files always in a new tabDebugging Drupal on docker container using AtomXDebug with Atom gets stuckNetbeans Xdebug Windows 10 waiting for connection

How do changes to your speed that occur on your own turn affect your available movement?

What happens if an IRB mistakenly approves unethical research?

Found more old paper shares from broken up companies

How could an engineer advance human civilization by time traveling to the past?

Film where a boy turns into a princess

Can't understand how static works exactly

Why are angular mometum and angular velocity not necessarily parallel, but linear momentum and linear velocity are always parallel?

dos2unix is unable to convert typescript file to unix format

ExactlyOne extension method

Using "Kollege" as "university friend"?

Why do people say "I am broke" instead of "I am broken"?

Considerations when providing money to one child now, and the other later?

Why does the salt in the oceans not sink to the bottom?

Idioms: Should it be " the internet is a seemingly infinite well of information" or "the internet is a seemingly infinite wealth of information"

How can Kazakhstan perform MITM attacks on all HTTPS traffic?

Where is this photo of a group of hikers taken? Is it really in the Ural?

The 50,000 row query limit is not actually a "per APEX call" as widely believed

Why did modems have speakers?

Span command across LaTeX environments

What is the spanish equivalent of "the boys are sitting"?

If a check is written for bill, but account number is not mentioned on memo line, is it still processed?

What is the purpose of this "red room" in "Stranger Things"?

Extrapolation v. Interpolation

Invert Some Switches on a Switchboard



Configuring VS Code to use Xdebug on Drupal VM on Windows


Settings up xdebug on MAMP PROPHPStorm unable to make external connection with xdebugInstalling xdebug using “pecl install xdebug” on xamppHow do you format code in Visual Studio Code (VSCode)How do I collapse sections of code in Visual Studio Code for Windows?Unable to setup xdebug for PHP in IntellijOpen files always in a new tabDebugging Drupal on docker container using AtomXDebug with Atom gets stuckNetbeans Xdebug Windows 10 waiting for connection






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Does anyone know how to configure VS Code to use Xdebug on Drupal VM?



I have provisoned my Drupal-VM with Xdebug as described in:
http://docs.drupalvm.com/en/latest/extras/xdebug/



But what to do next?



Should my debug configuration in VS Code look like that?:




"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9969,
"pathMappings":
"http://drupalvm.test": "/D:/test_bazy_sql/drupal/drupal_sites/drupal-vm/drupal/web"
,



Does it matter which PHP I use?
The relevant lines in my settings.json file in VS Code:



"php.validate.executablePath": "C:\php2\php.exe",
"phpserver.browser": "edge",
"phpserver.phpPath": "C:\php2\php.exe",
"php.validate.run": "onType",


And my Xdebug settings in php.ini file look like this:



xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.remote_port = 9969
xdebug.remote_log="D:xdebug.log"
xdebug.remote_timeout = 900
xdebug.remote_connect_back = 1


I will be thankful for any suggestions.










share|improve this question






























    0















    Does anyone know how to configure VS Code to use Xdebug on Drupal VM?



    I have provisoned my Drupal-VM with Xdebug as described in:
    http://docs.drupalvm.com/en/latest/extras/xdebug/



    But what to do next?



    Should my debug configuration in VS Code look like that?:




    "name": "Listen for XDebug",
    "type": "php",
    "request": "launch",
    "port": 9969,
    "pathMappings":
    "http://drupalvm.test": "/D:/test_bazy_sql/drupal/drupal_sites/drupal-vm/drupal/web"
    ,



    Does it matter which PHP I use?
    The relevant lines in my settings.json file in VS Code:



    "php.validate.executablePath": "C:\php2\php.exe",
    "phpserver.browser": "edge",
    "phpserver.phpPath": "C:\php2\php.exe",
    "php.validate.run": "onType",


    And my Xdebug settings in php.ini file look like this:



    xdebug.remote_enable = 1
    xdebug.remote_autostart = 1
    xdebug.remote_port = 9969
    xdebug.remote_log="D:xdebug.log"
    xdebug.remote_timeout = 900
    xdebug.remote_connect_back = 1


    I will be thankful for any suggestions.










    share|improve this question


























      0












      0








      0


      1






      Does anyone know how to configure VS Code to use Xdebug on Drupal VM?



      I have provisoned my Drupal-VM with Xdebug as described in:
      http://docs.drupalvm.com/en/latest/extras/xdebug/



      But what to do next?



      Should my debug configuration in VS Code look like that?:




      "name": "Listen for XDebug",
      "type": "php",
      "request": "launch",
      "port": 9969,
      "pathMappings":
      "http://drupalvm.test": "/D:/test_bazy_sql/drupal/drupal_sites/drupal-vm/drupal/web"
      ,



      Does it matter which PHP I use?
      The relevant lines in my settings.json file in VS Code:



      "php.validate.executablePath": "C:\php2\php.exe",
      "phpserver.browser": "edge",
      "phpserver.phpPath": "C:\php2\php.exe",
      "php.validate.run": "onType",


      And my Xdebug settings in php.ini file look like this:



      xdebug.remote_enable = 1
      xdebug.remote_autostart = 1
      xdebug.remote_port = 9969
      xdebug.remote_log="D:xdebug.log"
      xdebug.remote_timeout = 900
      xdebug.remote_connect_back = 1


      I will be thankful for any suggestions.










      share|improve this question
















      Does anyone know how to configure VS Code to use Xdebug on Drupal VM?



      I have provisoned my Drupal-VM with Xdebug as described in:
      http://docs.drupalvm.com/en/latest/extras/xdebug/



      But what to do next?



      Should my debug configuration in VS Code look like that?:




      "name": "Listen for XDebug",
      "type": "php",
      "request": "launch",
      "port": 9969,
      "pathMappings":
      "http://drupalvm.test": "/D:/test_bazy_sql/drupal/drupal_sites/drupal-vm/drupal/web"
      ,



      Does it matter which PHP I use?
      The relevant lines in my settings.json file in VS Code:



      "php.validate.executablePath": "C:\php2\php.exe",
      "phpserver.browser": "edge",
      "phpserver.phpPath": "C:\php2\php.exe",
      "php.validate.run": "onType",


      And my Xdebug settings in php.ini file look like this:



      xdebug.remote_enable = 1
      xdebug.remote_autostart = 1
      xdebug.remote_port = 9969
      xdebug.remote_log="D:xdebug.log"
      xdebug.remote_timeout = 900
      xdebug.remote_connect_back = 1


      I will be thankful for any suggestions.







      visual-studio-code xdebug drupal-8






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 26 at 15:18







      Tommy

















      asked Mar 26 at 14:44









      TommyTommy

      564 bronze badges




      564 bronze badges






















          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55359929%2fconfiguring-vs-code-to-use-xdebug-on-drupal-vm-on-windows%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55359929%2fconfiguring-vs-code-to-use-xdebug-on-drupal-vm-on-windows%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Obelisk of Theodosius Contents History Description Notes Bibliography Further reading External links Navigation menuAge of spirituality : late antique and early Christian art, third to seventh centuryOver 60 picturesObelisks of the World41°00′21.24″N 28°58′31.43″E / 41.0059000°N 28.9753972°E / 41.0059000; 28.97539727724550-7235741376235741376

          밀양 대씨 역사 각주 함께 보기 둘러보기 메뉴밀양 대씨

          1973년 목차 사건 문화 탄생 사망 노벨상 달력 둘러보기 메뉴