mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-06 17:15:38 -08:00
42 lines
1.2 KiB
JSON
Executable File
42 lines
1.2 KiB
JSON
Executable File
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Python Backend Debug: Attach",
|
|
"type": "debugpy",
|
|
"request": "attach",
|
|
"connect": {
|
|
"host": "localhost",
|
|
"port": 5678
|
|
},
|
|
"pathMappings": [
|
|
{
|
|
// Map workspace root to /app for PHP and other resources, plus explicit server mapping for Python.
|
|
"localRoot": "${workspaceFolder}",
|
|
"remoteRoot": "/app"
|
|
},
|
|
{
|
|
"localRoot": "${workspaceFolder}/server",
|
|
"remoteRoot": "/app/server"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "PHP Frontend Xdebug: Listen",
|
|
"type": "php",
|
|
"request": "launch",
|
|
"port": 9003,
|
|
"pathMappings": {
|
|
"/app": "${workspaceFolder}"
|
|
}
|
|
},
|
|
{
|
|
"name": "Python: Current File",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${file}",
|
|
"console": "integratedTerminal",
|
|
"justMyCode": true
|
|
}
|
|
]
|
|
} |