mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-12 07:19:01 +08:00
This commit enables source maps in napcat-shell's Vite config for better debugging, adds source map path overrides to VSCode settings, and updates nodeTest.ps1 to launch with the Node.js inspector. The autoIncludeTSPlugin transform now returns a source map for improved breakpoint support in VSCode. Also adds a sources.txt file listing project and dependency sources.
9 lines
455 B
JSON
9 lines
455 B
JSON
{
|
|
"debug.node.sourceMapPathOverrides": {
|
|
"../../napcat-onebot/*": "${workspaceFolder}/packages/napcat-onebot/*",
|
|
"../../napcat-core/*": "${workspaceFolder}/packages/napcat-core/*",
|
|
"../../napcat-common/*": "${workspaceFolder}/packages/napcat-common/*",
|
|
"../../napcat-webui-backend/*": "${workspaceFolder}/packages/napcat-webui-backend/*",
|
|
"../../napcat-pty/*": "${workspaceFolder}/packages/napcat-pty/*"
|
|
}
|
|
} |