mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
154 lines
5.2 KiB
JSON
154 lines
5.2 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Linux module test",
|
|
"program": "${workspaceFolder}/cache/nwjs-sdk-v0.55.0-linux-x64/nw",
|
|
"args": [
|
|
"${workspaceFolder}/test/runner/nwjs/compiler.js",
|
|
"wcsc",
|
|
"${workspaceFolder}/test/spec/issue/137/data/example.json"
|
|
],
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
|
|
{
|
|
"name": "wcc wxs sample2",
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/wcc",
|
|
"args": [
|
|
"--wxs",
|
|
"${workspaceRoot}/test/spec/wcc/wxs/sample2.json"
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceRoot}/",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "Set Disassembly Flavor to Intel",
|
|
"text": "-gdb-set disassembly-flavor intel",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
"sourceFileMap":{
|
|
"${workspaceRoot}": {
|
|
"editorPath": "${workspaceRoot}",
|
|
"useForBreakpoints": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "wcc wxs sample3",
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/wcc",
|
|
"args": [
|
|
"--wxs",
|
|
"${workspaceRoot}/test/spec/wcc/wxs/sample3.json"
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceRoot}/",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "Set Disassembly Flavor to Intel",
|
|
"text": "-gdb-set disassembly-flavor intel",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
"sourceFileMap":{
|
|
"${workspaceRoot}": {
|
|
"editorPath": "${workspaceRoot}",
|
|
"useForBreakpoints": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "wcc wxs sample4",
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/wcc",
|
|
"args": [
|
|
"--wxs",
|
|
"${workspaceRoot}/test/spec/wcc/wxs/sample4.json"
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceRoot}/",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "Set Disassembly Flavor to Intel",
|
|
"text": "-gdb-set disassembly-flavor intel",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
"sourceFileMap":{
|
|
"${workspaceRoot}": {
|
|
"editorPath": "${workspaceRoot}",
|
|
"useForBreakpoints": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "(gdb) Launch",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/wcc",
|
|
"args": [
|
|
"\"--config-path\"",
|
|
"\"${workspaceRoot}/test/spec/issue/102/case1.txt\""
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceRoot}/test/spec/issue/102/wxapp",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "Set Disassembly Flavor to Intel",
|
|
"text": "-gdb-set disassembly-flavor intel",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
"sourceFileMap":{
|
|
"${workspaceRoot}": {
|
|
"editorPath": "${workspaceRoot}",
|
|
"useForBreakpoints": true
|
|
}
|
|
}
|
|
}
|
|
|
|
]
|
|
} |