Skip to content

launch with remote debugging does not hit existing breakpoints until deactivating/reactivating them #4082

Description

Environment (please complete the following information):

  • OS (e.g., Windows 10): macOS 26.3
  • Extension version (e.g., 1.2.3): 2.1.10

Describe the bug:

It's expected that the breakpoints are unbound as long as the remove debugging session with MS Edge is not running, I would expect that the breakpoints bound as soon as the remote debugging sessions is established.

This is not the case. They remain unbound after lauching the browser.
The breakpoints are bound as soon as I toggle activate/

Repro steps:

Launch Edge with devtools:

Image

Navigate to the page that loads the src file, Home.controller.js in my example.

The breakpoints are did not bind:

Image

I toggle breakpoints off/on:

Image

Now without even reloading the web page, the breakpoints are bound:
Image

Expected behavior:

To not have to manually toggle breakpoints before they are bound.

Additional context:

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "name": "cds watch",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "runtimeExecutable": "cds",
      "args": ["watch", "--with-mocks", "--in-memory?"],
      "skipFiles": ["<node_internals>/**"]
    },
    {
      "type": "pwa-msedge",
      "name": "Launch Microsoft Edge",
      "request": "launch",
      "runtimeArgs": ["--remote-debugging-port=9222"],
      "url": "http://localhost:4004",
      "webRoot": "${workspaceFolder}/app/cockpit/webapp",
      "presentation": {
        "hidden": true
      }
    },
    {
      "type": "vscode-edge-devtools.debug",
      "name": "Open Edge DevTools",
      "request": "attach",
      "url": "http://localhost:4004",
      "presentation": {
        "hidden": true
      }
    }
  ],
  "compounds": [
    {
      "name": "Launch Edge and attach DevTools",
      "configurations": ["Launch Microsoft Edge", "Open Edge DevTools"]
    }
  ]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions