firefox-devtools / firefox-devtools/vscode-firefox-debug

Debug Thunderbird WebExtension Possible?

Open
#231 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
447
Forks
76
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.