vscode cppdbg 相关
首先cppdbg选项是需要安装额外的cpptools扩展支持的;
启动调试设置参考:
{ "name": "case", "type": "cppdbg", "request": "launch", "program": "/xxx/aaa", "args": ["--gtest_catch_exceptions=1", "--gtest_filter=aaaa.xxx"], "stopAtEntry": false, "cwd": "/xxx", "environment": [ { "name": "LD_LIBRARY_PATH", "value": "/xxx" } ], "externalConsole": false, "MIMode": "gdb", "pipeTransport": { "pipeCwd": "", "pipeProgram": "ssh.exe", "pipeArgs": ["root@xx.xx.xx.xx"], "debuggerPath": "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/xxx;/usr/bin/gdb" }, "sourceFileMap": { "/xxx": "d:/xxx" }, "setupCommands": [{ "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true }], "logging": { "engineLogging": true }//这个选项会开启调试过程中gdb的打印 }
然后通过vscode.debug.startDebugging即可启动调试
https://hekar.github.io/luminousforts-website/doc/code/debug/
https://stackoverflow.com/questions/58478472/vs-code-does-not-stop-at-any-breakpoints-on-mac
https://github.com/microsoft/vscode-cpptools/issues/1471
https://code.visualstudio.com/docs/editor/debugging
关于设置额外的环境变量:
https://stackoverflow.com/questions/37338402/vs-code-cpptools-debugging-environment
https://code.visualstudio.com/docs/cpp/launch-json-reference
https://github.com/microsoft/vscode-cpptools/issues/616
https://github.com/microsoft/vscode-cpptools/issues/22
https://github.com/microsoft/vscode-cpptools/issues/2526
https://stackoverflow.com/questions/37338402/vs-code-cpptools-debugging-environment
https://stackoverflow.com/questions/34991934/how-to-run-c-program-with-so-file
https://github.com/Microsoft/VSLinux/issues/257
gdb set solib-search-path command
https://visualgdb.com/gdbreference/commands/set_solib-search-path
其他:
一些纯node实现的rsync逻辑的实现,目前没有发现完全支持linux侧rsync的版本;
https://github.com/ttezel/anchor
https://github.com/royalrover/node-rsync
https://www.npmjs.com/package/sync-directory
https://gist.github.com/rioki/3713041
https://developer.aliyun.com/mirror/npm/package/js-rsync
https://github.com/WebDeltaSync/WebRsync
https://www.npmjs.com/package/sftp2sync
https://github.com/lukasz-wronski/vscode-ftp-sync
node 目录hash
https://www.npmjs.com/package/folder-hash
https://www.npmjs.com/package/md5-dir
https://github.com/mcavage/node-dirsum
vscode插件获取当前打开的工作空间的路径
https://stackoverflow.com/questions/39569993/vs-code-extension-get-full-path
node tar-fs例子
https://www.codota.com/code/javascript/functions/tar-fs/extract
https://openbase.io/js/tar-stream
- 点赞
- 收藏
- 关注作者
评论(0)