Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Extension Development Host does not Load #41

Open
roerohan opened this issue May 14, 2019 · 3 comments
Open

Extension Development Host does not Load #41

roerohan opened this issue May 14, 2019 · 3 comments

Comments

@roerohan
Copy link

Extension Development Host does not Load

Instead, the Electron home page opens.

Upon running debug with the following launch.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}/out/test"
			],
			"outFiles": ["${workspaceFolder}/out/test/**/*.js"]
		}
	]
}

It opens the following popup:
Electron
And then shows a message:

Cannot debug extension (timeout).

However, the same launch.json works fine on the VSCode-linux-x64 release of Visual Studio Code.

@amtlib-dot-dll
Copy link
Collaborator

Would https://github.com/flathub/com.visualstudio.code (the non-OSS version) have the same trouble?

@roerohan
Copy link
Author

As far as I remember, that version works fine.
This works for sure.

@amtlib-dot-dll
Copy link
Collaborator

That's weird.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants