Inspect Local Variable VSCode Java Debugging

I have connected my vscode debugger to my mendix debugger by following the steps listed here: However, I cannot view local variables in a java action that I am trying to debug. What steps can I take to try and fix this? I saw another thread here: but that seemed to be a different issue as I am not running into a similar package issue.   Edit: When I try to use the Debug Console to manually System.out.println(Object) it says that {variable name} cannot be resolved to a variable.
1 answers

You won’t be able to see local variables declared in a method (at least I’ve not worked out how to do that). Depending on your code, you could move them into the class or create a new class as object variables are visible. This is the approach I take.  

Hope this helps.