chore(debug): add vscode debug launch setting (#9725)

This PR allows vscode to add breakpoints to the editor's code.
This commit is contained in:
L-Sun
2025-01-16 06:17:40 +00:00
parent 32f09b5ac0
commit f7cbd21dd9
2 changed files with 21 additions and 6 deletions

View File

@@ -113,9 +113,7 @@ export function createWebpackConfig(
mode: flags.mode,
devtool:
flags.mode === 'production'
? 'source-map'
: 'eval-cheap-module-source-map',
flags.mode === 'production' ? 'source-map' : 'cheap-module-source-map',
resolve: {
symlinks: true,