| | 39 | |
| | 40 | Debugging WebProcess in a test within flatpak: |
| | 41 | {{{ |
| | 42 | #!sh |
| | 43 | TEST_RUNNER_TEST_PLUGIN_PATH= WEB_PROCESS_CMD_PREFIX='/usr/bin/gdbserver localhost:8080' webkit-flatpak --debug --gtk -c /app/webkit/WebKitBuild/Debug/bin/WebKitTestRunner "-v" "LayoutTests/fast/forms/plaintext-mode-1.html" |
| | 44 | }}} |
| | 45 | |
| | 46 | And, in another terminal, execute |
| | 47 | {{{ |
| | 48 | #!sh |
| | 49 | $ Tools/Scripts/webkit-flatpak --debug --command=gdb /app/webkit/WebKitBuild/Debug/bin/WebKitWebProcess |
| | 50 | Reading symbols from bin/WebKitWebProcess...done. |
| | 51 | (gdb) target remote localhost:8080 |
| | 52 | (gdb) continue |
| | 53 | }}} |
| | 54 | |