You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
// .vscode/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": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}/apps/app",
"trace": true,
"sourceMapPathOverrides": {
// This seems fine, perhaps necessary"webpack://_N_E/*": "${webRoot}/*",
// This is addressing a bug where sourceMappingURL only// has has `../` instead of `../../`"webpack://_N_E/../libs/*": "${webRoot}/../../libs/*"
}
}
]
}
This breakpoint will only be hit with the launch.json hack where I map a single ../ to what it should be, ../../. Comment out line 16 or launch.json and restart the debugger to reproduce the problem.
Expected Behavior
Breakpoint should be bound in vscode debugger without
sourceMapPathOverrideshacks.Actual Behavior
Breakpoint is not bound.
Code
How Do We Reproduce?
Clone and install
yarn installStart the app
yarn devfrom the rootDebug the app in vscode
Launch Chromedebug configuration in vscodelibs/ui/src/Box.tsxlaunch.jsonhack where I map a single../to what it should be,../../. Comment out line 16 or launch.json and restart the debugger to reproduce the problem.{ "webpack://_N_E/../libs/*": "${webRoot}/../../libs/*" }