Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open vscode extension development host #58470

Closed
faqndo97 opened this issue Sep 12, 2018 · 11 comments
Closed

Can't open vscode extension development host #58470

faqndo97 opened this issue Sep 12, 2018 · 11 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues

Comments

@faqndo97
Copy link

Hi guys!

I'm trying to start develop extension for vscode. I'm following you hello world guide and I'm trying to open the extension development host. When I press f5 nothing happen, and I open debugger side menu and hit run but nothing happen again. Do you know why this is happening?

Thanks for you help!

🚨 The issue tracker is not for questions 🚨

If you have a question, please ask it on https://stackoverflow.com/questions/tagged/visual-studio-code.

@vscodebot vscodebot bot added the extensions Issues concerning extensions label Sep 12, 2018
@faqndo97
Copy link
Author

faqndo97 commented Sep 12, 2018

This is my lunch.json

// A launch configuration that launches the extension inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
	"version": "0.2.0",
    "configurations": [
        {
            "name": "Extension",
            "type": "extensionHost",
            "request": "launch",
            "runtimeExecutable": "${execPath}",
            "args": [
                "--extensionDevelopmentPath=${workspaceFolder}"
            ]
        },
        {
            "name": "Extension Tests",
            "type": "extensionHost",
            "request": "launch",
            "runtimeExecutable": "${execPath}",
            "args": [
                "--extensionDevelopmentPath=${workspaceFolder}",
                "--extensionTestsPath=${workspaceFolder}/test"
            ]
        }
    ]
}

@TheOpenDevProject
Copy link

I can confirm when trying to debug with an xDebug extension there is no way to launch the debugger.

image

@weinand weinand added debug Debug viewlet, configurations, breakpoints, adapter issues and removed extensions Issues concerning extensions labels Sep 12, 2018
@weinand
Copy link
Contributor

weinand commented Sep 12, 2018

@TheOpenDevProject "xDebug" has nothing to do with extension host debugging. What's the purpose of your comment?
"xDebug" is php debugging, right? Please don't hijack random issues.

@faqndo97
Copy link
Author

@weinand This is my vscode information

captura de pantalla 2018-09-12 a la s 09 55 52

If you need any other information only tell me thanks!

@microsoft microsoft deleted a comment from vscodebot bot Sep 12, 2018
@weinand
Copy link
Contributor

weinand commented Sep 12, 2018

@faqndo97 what do you see in the debug console after pressing F5?

@faqndo97
Copy link
Author

@weinand Nothing, nothing happen after press F5 or run manually

@weinand
Copy link
Contributor

weinand commented Sep 12, 2018

Can you try to run VS Code without extensions? From the command line, execute: code --disable-extensions and try your steps again to see if it reproduces.

@faqndo97
Copy link
Author

@weinand Nothing happen again

@weinand
Copy link
Contributor

weinand commented Sep 12, 2018

Please "Toggle the Developer Tools" (via Help Menu), and open the "Console".
Are there any errors or other messages?

@weinand
Copy link
Contributor

weinand commented Sep 12, 2018

Please open the "Extension" viewlet and from the drop down menu behind the "..." run the "Show Built-in extensions". In the features section scroll down until you see "Node Debug" and "Node Debug (legacy)". Both should be enabled.

@faqndo97
Copy link
Author

Finally I deleted my vscode and install again and now works fine!! Something in my last config or environment works bad. Thanks for your help.

Helpful link - For complete delete of vscode I follow this post

@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues
Projects
None yet
Development

No branches or pull requests

3 participants