LeonLatex Posted June 30, 2022 Share Posted June 30, 2022 Look at the screen dump and please tell me what (path) to put between the two " and " at the bottom line? http://www.thorkjetil.no/images/vsc_01.png Quote Link to comment https://forums.phpfreaks.com/topic/314980-help-with-visual-studio-code/ Share on other sites More sharing options...
requinix Posted June 30, 2022 Share Posted June 30, 2022 I don't understand why this is a question. Do you know what that setting is for? Quote Link to comment https://forums.phpfreaks.com/topic/314980-help-with-visual-studio-code/#findComment-1597771 Share on other sites More sharing options...
LeonLatex Posted June 30, 2022 Author Share Posted June 30, 2022 I don't understand why you answer my question with a new question. If I was sure about what that line meant, I would not ask for help. Not to be rude, but.... All I know is that line has something to do with the debugger. But I don't have a clue what to put in there? Is the answer so simple and easy that it is the same path as the line above? Quote Link to comment https://forums.phpfreaks.com/topic/314980-help-with-visual-studio-code/#findComment-1597774 Share on other sites More sharing options...
requinix Posted June 30, 2022 Share Posted June 30, 2022 I like answering with questions because often that encourages the person, in trying to answer that question, to start heading down the right mental pathway towards finding the answer - if not find the answer itself. Here, the answer to my question is something like "well the setting page says it's a path to PHP". Logically, then, if it's "the path to a PHP executable" then yeah, the answer probably is as simple as copying the php.validate.executablePath you have above it. Because the thing to remember here - and this might help dispel some confusion - is that despite the similarity between the two configuration names, they belong to two different extensions: the "php.validate.executablePath" is used by the built-in PHP extension while the "php.debug.executablePath" comes from PHP Debug. Quote Link to comment https://forums.phpfreaks.com/topic/314980-help-with-visual-studio-code/#findComment-1597775 Share on other sites More sharing options...
LeonLatex Posted June 30, 2022 Author Share Posted June 30, 2022 Ok, you got my respect for that. When I think about it, I think you're right. And now I even don't dare to say more, not even ask another question ( 😉 ). I feel really stupid. I saw the solution. But (as we say in Norway in Norwegian of course) I just had to shit on my own leg. I feel so embarrassed. Before I was never afraid to try new things or find solutions. It must be my age. I am getting older and the Alzheimer's is closing up on me. Requinix, SORRY FOR ASKING STUPID SELF EXPLAINED QUESTIONS. But, thank you for listening 1 Quote Link to comment https://forums.phpfreaks.com/topic/314980-help-with-visual-studio-code/#findComment-1597777 Share on other sites More sharing options...
LeonLatex Posted July 1, 2022 Author Share Posted July 1, 2022 2 hours ago, requinix said: Because the thing to remember here - and this might help dispel some confusion - is that despite the similarity between the two configuration names, they belong to two different extensions: the "php.validate.executablePath" is used by the built-in PHP extension while the "php.debug.executablePath" comes from PHP Debug. I had to read your answer over and over again in Google Translate. This was the answer: phpdbg.exe Quote Link to comment https://forums.phpfreaks.com/topic/314980-help-with-visual-studio-code/#findComment-1597781 Share on other sites More sharing options...
LeonLatex Posted July 1, 2022 Author Share Posted July 1, 2022 Does anyone know about a good debugger for JS/AJAX and SQL in Visual Studio Code that is worth suggesting? I don't know what to look for. Quote Link to comment https://forums.phpfreaks.com/topic/314980-help-with-visual-studio-code/#findComment-1597782 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.