mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
* fix: wine environment * fix: wine environment * fix: environment * perf: remove recommend * fix: env * Update release.yml * fix: permission of wcsc.exe * fix: 一处越界问题 * fix: pnpm install * fix: wine prepare * fix: wine cfg * feat: error console * fix: 兼容clang * perf: 调整位置 * perf: 带入环境 * fix: version * perf: log * fix: version check * fix: version * fix: wcsc 索引与 一个括号 处理一处索引出现负数的问题; 一处css输出了多余的括号。 * fix: ci
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/129/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
|
|
}
|
|
}
|
|
}
|
|
|
|
]
|
|
} |