| { |
| "version": "0.2.0", |
| "configurations": [ |
| { |
| "name": "Chrome Debug", |
| "type": "cppdbg", |
| "request": "launch", |
| "targetArchitecture": "x64", |
| "program": "${workspaceRoot}/out/Debug/chrome", |
| "args": [], // Optional command line args |
| "preLaunchTask": "1-build_chrome_debug", |
| "stopAtEntry": false, |
| "cwd": "${workspaceRoot}/out/Debug/", |
| "environment": [], |
| "externalConsole": true |
| }, |
| { |
| "name": "Chrome Release", |
| "type": "cppdbg", |
| "request": "launch", |
| "targetArchitecture": "x64", |
| "program": "${workspaceRoot}/out/Release/chrome", |
| "args": [], // Optional command line args |
| "preLaunchTask": "2-build_chrome_release", |
| "stopAtEntry": false, |
| "cwd": "${workspaceRoot}/out/Release/", |
| "environment": [], |
| "externalConsole": true |
| }, |
| { |
| "name": "Custom Test Debug", |
| "type": "cppdbg", |
| "request": "launch", |
| "targetArchitecture": "x64", |
| "program": "${workspaceRoot}/out/Debug/unit_tests", |
| "args": ["--gtest_filter=*", |
| "--single_process", |
| "--ui-test-action-max-timeout=1000000", |
| "--test-launcher-timeout=1000000"], |
| "preLaunchTask": "5-build_test_debug", |
| "stopAtEntry": false, |
| "cwd": "${workspaceRoot}/out/Debug/", |
| "environment": [], |
| "externalConsole": true |
| }, |
| { |
| "name": "Attach Debug", |
| "type": "cppdbg", |
| "request": "launch", |
| "targetArchitecture": "x64", |
| "program": "${workspaceRoot}/out/Debug/chrome", |
| "args": ["--remote-debugging-port=2224"], |
| "stopAtEntry": false, |
| "cwd": "${workspaceRoot}/out/Debug/", |
| "environment": [], |
| "externalConsole": false |
| }, |
| { |
| // Must be running before launching: out/Debug/bin/chrome_public_apk gdb --ide |
| "name": "Attach Android", |
| "type": "cppdbg", |
| "request": "launch", |
| "targetArchitecture": "arm", |
| "program": "/tmp/adb-gdb-support-${env:USER}/app_process", |
| "miDebuggerPath": "/tmp/adb-gdb-support-${env:USER}/gdb", |
| "miDebuggerServerAddress": "ignored", |
| "cwd": "${workspaceRoot}", |
| "customLaunchSetupCommands": [{ |
| "text": "-interpreter-exec console \"source -v /tmp/adb-gdb-support-${env:USER}/gdbinit\"" |
| }], |
| "launchCompleteCommand": "None", |
| }] |
| } |