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

The logpoints set in vscode are not displayed in browser console

Open
#301 1 comment 0 reactions 0 assignees View on GitHub
needs more info
Dominant language
TypeScript
Stars
447
Forks
76
PR merge metrics
No merged PRs in 30d

Description

Hi,
I have this

```
"configurations": [
{
"name": "Launch Firefox Dev Edition",
"type": "firefox",
"request": "launch",
"reAttach": true,
"url": "http://localhost:4200",
"firefoxExecutable": "/home/dev/firefox-dev/firefox",
"webRoot": "${workspaceFolder}",
"profile": "dev-edition-debug",
"keepProfileChanges": true,
"pathMappings": [
{
"url": "webpack:///src",
"path": "${workspaceFolder}/src"
}
]
}
]
```

The breakpoint work well but if i set a logpoint this is not displayed in browser console.
I tried with firefox developer edition (v104) firefox (v103) firefox (v100.0.2) both in launch and in attach request with the same behavior.

I also tried with Chrome Attach and the logpoints are displayed in chrome console.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the provided VS Code launch and attach configurations in Firefox and compare the behavior with Chrome Attach. Trace how a logpoint is handled by the Firefox debug adapter and console, and consider the issue complete when a logpoint set in VS Code produces its message in the Firefox browser console.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.