vscode-firefox-debug icon indicating copy to clipboard operation
vscode-firefox-debug copied to clipboard

Debug Thunderbird WebExtension Possible?

Open cleidigh opened this issue 5 years ago • 0 comments

Hello I am a developer and extension supporter for the Thunderbird team. I have also been a major contributor to VS Code I am really excited by the possibility of using your extension for remote Thunderbird debugging

I set up Thunderbird to accept remote connections and then set up launch.json

{
	// 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": "Launch index.html",
			"type": "firefox",
			"request": "launch",
			"reAttach": true,
			"file": "${workspaceFolder}/index.html"
		},
		{
			"name": "Launch localhost",
			"type": "firefox",
			"request": "launch",
			"reAttach": true,
			"url": "http://localhost/index.html",
			"webRoot": "${workspaceFolder}"
		},
		{
			"name": "Attach",
			"type": "firefox",
			"request": "attach"
		},
		{
			"name": "Launch WebExtension",
			"type": "firefox",
			"request": "launch",
 			"reAttach": true,
			"addonPath": "${workspaceFolder}"
		},
		{
					"name": "Launch TB MailExtension",
					"type": "firefox",
					"request": "attach",
					"addonPath": "${workspaceFolder}/src"
		}


	],
	"log": {
        "fileName": "${workspaceFolder}/log.txt",
        "fileLevel": {
            "default": "Debug"
        }
	
}

I see Thunderbird for prompt to accept the connection but I get no completion on the Visual Studio code side no log file is created either although I am not clear if the configuration is correct and in the right place am I doing something that is not possible?

Currently all tests are with Windows 10 , Thunderbird 78 thanks Christopher

cleidigh avatar Oct 16 '20 04:10 cleidigh