You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Shanedell (via GitHub)" <gi...@apache.org> on 2023/05/05 16:21:37 UTC

[GitHub] [daffodil-vscode] Shanedell opened a new pull request, #623: Save debugger output to a file

Shanedell opened a new pull request, #623:
URL: https://github.com/apache/daffodil-vscode/pull/623

   Save debugger output to a file
   
   - Use "tee" for mac/linux to save debugger output to a file.
   
   Closes #614


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [daffodil-vscode] Shanedell commented on pull request #623: Save debugger output to a file

Posted by "Shanedell (via GitHub)" <gi...@apache.org>.
Shanedell commented on PR #623:
URL: https://github.com/apache/daffodil-vscode/pull/623#issuecomment-1536903747

   @scholarsmate @mbeckerle Closing this PR in favor of https://github.com/apache/daffodil-vscode/pull/626 as that is much better fix for the issue. Please give it a look when you can, thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [daffodil-vscode] Shanedell commented on pull request #623: Save debugger output to a file

Posted by "Shanedell (via GitHub)" <gi...@apache.org>.
Shanedell commented on PR #623:
URL: https://github.com/apache/daffodil-vscode/pull/623#issuecomment-1536494481

   @mbeckerle So with the way the terminal exits it is based on the script being ran. So unfortunately I am not able to keep the terminal open after the script exits Instead I made the script use `tee` to also output the debugger data to a local file. By default it should go your workspace folder and be named `debugger-${port}-output.txt`, port being your debugServer port, but if for some reason it cant find your workspace folder it will go to `/tmp`. This should still allow you debug the issue better.
   
   NOTE: The logging was only added for mac/linux since I know both have `tee`. I saw online Windows may also have `tee` but others said `type` would be better. So if anybody knows more on that let me know and I can add that in as well.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [daffodil-vscode] Shanedell closed pull request #623: Save debugger output to a file

Posted by "Shanedell (via GitHub)" <gi...@apache.org>.
Shanedell closed pull request #623: Save debugger output to a file
URL: https://github.com/apache/daffodil-vscode/pull/623


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [daffodil-vscode] scholarsmate commented on pull request #623: Save debugger output to a file

Posted by "scholarsmate (via GitHub)" <gi...@apache.org>.
scholarsmate commented on PR #623:
URL: https://github.com/apache/daffodil-vscode/pull/623#issuecomment-1536636477

   While this is a quick fix to the current problem, I think it will be better to use a logging configuration (e.g., logback.conf or something) and have that write to file and std{out.err} instead of piping the output to `tee`.  The Ωedit Scala server uses a logback config file that is generated in `client.ts` and read by the server on startup for server logging.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org