Skip to content

Commit

Permalink
Ensure debugging works properly in environments with symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
MMK21Hub committed May 7, 2024
1 parent f381dd0 commit 4da26f6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,24 @@
"request": "launch",
"name": "Run build tool",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/dist/main.js"
"program": "${workspaceFolder}/dist/main.js",
"runtimeArgs": ["--preserve-symlinks", "--preserve-symlinks-main"]
},
{
"type": "node",
"request": "launch",
"name": "Run publisher script",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/dist/publisher/main.js"
"program": "${workspaceFolder}/dist/publisher/main.js",
"runtimeArgs": ["--preserve-symlinks", "--preserve-symlinks-main"]
},
{
"type": "node",
"request": "launch",
"name": "Run report viewer",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/dist/report-viewer/main.js"
"program": "${workspaceFolder}/dist/report-viewer/main.js",
"runtimeArgs": ["--preserve-symlinks", "--preserve-symlinks-main"]
}
]
}

0 comments on commit 4da26f6

Please sign in to comment.