mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-02-21 17:52:12 +08:00
39 lines
1018 B
JSON
39 lines
1018 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Main(inspector)",
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
|
|
"runtimeArgs": [
|
|
"--remote-debugging-port=9222",
|
|
"${workspaceFolder}/dist/main/index.cjs",
|
|
],
|
|
"env": {
|
|
"DEBUG": "true",
|
|
},
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
|
|
},
|
|
"sourceMaps": true
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Main(vite)",
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
|
|
"runtimeArgs": [
|
|
"${workspaceFolder}/dist/main/index.cjs",
|
|
],
|
|
"env": {
|
|
"VITE_DEV_SERVER_HOST": "127.0.0.1",
|
|
"VITE_DEV_SERVER_PORT": "3344",
|
|
},
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
|
|
},
|
|
"sourceMaps": true
|
|
},
|
|
]
|
|
} |