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;
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
add a comment |
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
add a comment |
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
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
visual-studio-code xdebug drupal-8
edited Mar 26 at 15:18
Tommy
asked Mar 26 at 14:44
TommyTommy
564 bronze badges
564 bronze badges
add a comment |
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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