Skeleton README documents the hot-reload story end-to-end: - PHP-side: frankenphp run --watch (already what `make dev` uses). - QML-side: Qt Creator Reload, qmlls live preview, run-from-source. - Dev console: Ctrl+` toggle from sub-commit 1. Both skeleton and todo example ship .vscode/ (launch.json with Xdebug attach + Qt-host gdb launch + a compound config, tasks.json for the make targets, settings.json) and .idea/runConfigurations/ shell run configs for `make dev`, `make doctor`, `make quality` (and `make appimage` in the todo example). PhpStorm's Xdebug listener is global so we don't ship a project-level run config for it; the README points users at the toolbar toggle. php-qml-init also rewrites .vscode/launch.json's binary path and config label so a fresh scaffold's debugger configs point at the new project's binary. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
42 lines
1.0 KiB
JSON
42 lines
1.0 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Listen for Xdebug (Symfony / FrankenPHP)",
|
|
"type": "php",
|
|
"request": "launch",
|
|
"port": 9003,
|
|
"pathMappings": {
|
|
"${workspaceFolder}/symfony": "${workspaceFolder}/symfony"
|
|
},
|
|
"log": false
|
|
},
|
|
{
|
|
"name": "Run skeleton (Qt host)",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/qml/skeleton",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [
|
|
{ "name": "BRIDGE_URL", "value": "http://127.0.0.1:8765" },
|
|
{ "name": "BRIDGE_TOKEN", "value": "devtoken" }
|
|
],
|
|
"preLaunchTask": "make build",
|
|
"MIMode": "gdb",
|
|
"linux": { "MIMode": "gdb" },
|
|
"osx": { "MIMode": "lldb" }
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Dev: Xdebug + Qt host",
|
|
"configurations": [
|
|
"Listen for Xdebug (Symfony / FrankenPHP)",
|
|
"Run skeleton (Qt host)"
|
|
]
|
|
}
|
|
]
|
|
}
|