Replies: 1 comment
-
I'm trying to redirect the debug console output to .txt or pipe "args": [
"| tee -a ${workspaceFolder}/info.txt"
], "args": [
" > ${workspaceFolder}/info.txt"
], "args": [
" > ",
"${workspaceFolder}/info.txt"
], but all above ,do not work , can not see the info.txt file. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'm trying to pipe the standard output of the debugged application into another program while using gdb through VS code. More concretely, I'm trying to transform the output through
jq
.This can be achieved directly with gdb:
$ gdb ./a.out (gdb) run | jq
Is there a way through the
launch.json
configuration file to achieve the same?Beta Was this translation helpful? Give feedback.
All reactions