How to debug genie code? #513
Unanswered
monikagujar
asked this question in
Q&A
Replies: 2 comments 1 reply
-
I mostly use Julia's logging: https://docs.julialang.org/en/v1/stdlib/Logging/ instead of Debugger. It's little time consuming then putting breakpoints, watch variables etc but works pretty well |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's definitely worth looking into a step-by-step debugging workflow for Genie now that there are quite a few debugger options available in the Julia ecosystem. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am very new to Julia and, Genie.
I am using visual studio code, so tried modifying the launch.json file for debugging.
launch.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": "julia", "request": "launch", "name": "Run Server", "program": "${workspaceFolder}/MyApp/bootstrap.jl", "args": [ "s" ], "stopOnEntry": false, "cwd": "${workspaceFolder}/MyApp", "juliaEnv": "${command:activeJuliaEnvironment}" } ] }
Genie version = "4.7.1"
julia_version = "1.7.2"
Same issue: #423
Beta Was this translation helpful? Give feedback.
All reactions