Closed janckerchen closed 1 week ago
Removing julia.debuggerDefaultCompiled
from settings.json of vscode and keeping the default configuration can resolve this issue. ALL_MODULES_EXCEPT_MAIN
prevents the debugger from entering all modules except the main program.
"julia.debuggerDefaultCompiled": [
"ALL_MODULES_EXCEPT_MAIN",
....
it seems also that the logging wrapper prevents setting breakpoints inside the anon function https://github.com/panifie/PingPong.jl/blob/3326d57cc8b8fcaeb66e5fc8b2d1c6a5342837dd/SimMode/src/backtest.jl#L49
not sure what to do with this
@panbonker found the solution for
it seems also that the logging wrapper prevents setting breakpoints inside the anon function not sure what to do with this
cmd+,
, open vscode settingjulia.debuggerDefaultCompiled
Edit in settings.jon
, vscode will open settings.json
and auto append julia.debuggerDefaultCompiled
and its default value.-Base.CoreLogging
as screenshot with_logger()
wrapper
I tried debugging the code in VS Code, but I can't step into the code either by setting breakpoints or using the
@enter
macro. What configuration is needed? (The environment variables in.envrc
can be inherited by launching VS Code from the terminal.)