diff options
author | m32 <grzegorz.makarewicz@gmail.com> | 2021-06-25 01:03:09 +0300 |
---|---|---|
committer | m32 <grzegorz.makarewicz@gmail.com> | 2021-06-25 01:03:09 +0300 |
commit | b789881a255c48c8d329853d8da339ef4fb2e037 (patch) | |
tree | 4e0c5eda1821b10df89dcd6aa642247d3a2594d5 /python/configs | |
parent | 9dcf1bef71e1bfabd52802f49fee841569856ad0 (diff) |
vscode debugging
Diffstat (limited to 'python/configs')
-rw-r--r-- | python/configs/plug/plugins/.vscode/c_cpp_properties.json | 35 | ||||
-rw-r--r-- | python/configs/plug/plugins/.vscode/launch.json | 21 | ||||
-rw-r--r-- | python/configs/plug/plugins/.vscode/settings.json | 1 | ||||
-rw-r--r-- | python/configs/plug/plugins/.vscode/tasks.json | 24 |
4 files changed, 81 insertions, 0 deletions
diff --git a/python/configs/plug/plugins/.vscode/c_cpp_properties.json b/python/configs/plug/plugins/.vscode/c_cpp_properties.json new file mode 100644 index 00000000..af61d39c --- /dev/null +++ b/python/configs/plug/plugins/.vscode/c_cpp_properties.json @@ -0,0 +1,35 @@ +{ + "configurations": [ + { + "name": "Linux", + "includePath": [ + "${workspaceRoot}", + "${workspaceRoot}/far2l", + "${workspaceRoot}/far2l/Include", + "${workspaceRoot}/WinPort", + "/usr/include" + ], + "defines": [ + "FAR_DONT_USE_INTERNALS", + "UNICODE", + "WINPORT_DIRECT", + "WINPORT_REGISTRY", + "WXUSINGDLL", + "_FILE_OFFSET_BITS=64", + "__WXGTK__" + ], + "browse": { + "limitSymbolsToIncludedHeaders": true, + "databaseFilename": "", + "path": [ + "/usr/include" + ] + }, + "intelliSenseMode": "clang-x64", + "compilerPath": "/usr/bin/clang", + "cStandard": "c11", + "cppStandard": "c++17" + } + ], + "version": 4 +}
\ No newline at end of file diff --git a/python/configs/plug/plugins/.vscode/launch.json b/python/configs/plug/plugins/.vscode/launch.json index 04eb947b..f1f15142 100644 --- a/python/configs/plug/plugins/.vscode/launch.json +++ b/python/configs/plug/plugins/.vscode/launch.json @@ -9,6 +9,27 @@ "remoteRoot": "${workspaceRoot}", "port": 5678, "host": "localhost" + }, + { + "name": "FAR2L", + "type": "cppdbg", + "request": "launch", + "program": "/devel/bin/farg/far2l", + "stopAtEntry": true, + "args": [ + ], + "cwd": "/tmp", + "environment": [ + ], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] } ] }
\ No newline at end of file diff --git a/python/configs/plug/plugins/.vscode/settings.json b/python/configs/plug/plugins/.vscode/settings.json index 9162e4ba..0c91d98e 100644 --- a/python/configs/plug/plugins/.vscode/settings.json +++ b/python/configs/plug/plugins/.vscode/settings.json @@ -1,4 +1,5 @@ { + "files.associations": {}, "python.pythonPath": "/devel/bin/farg/Plugins/python/plug/python/bin/python", "python.analysis.extraPaths": [ "/devel/bin/farg/Plugins/python", diff --git a/python/configs/plug/plugins/.vscode/tasks.json b/python/configs/plug/plugins/.vscode/tasks.json new file mode 100644 index 00000000..b286e1aa --- /dev/null +++ b/python/configs/plug/plugins/.vscode/tasks.json @@ -0,0 +1,24 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "cmake", + "type": "shell", + "command": "cd build && cmake /devel/00mirror-cvs/00-m32/far2l -DEACP=NO -DEDITORCOMP=NO -DPYTHON=YES" + }, + { + "label": "make", + "type": "shell", + "command": "cd build && make", + "group": { + "kind": "build", + "isDefault": true + }, + "problemMatcher": [ + "$gcc" + ] + } + ] +}
\ No newline at end of file |