CONSOLE TO PRINT THE DATA OF LOCAL VARIABLE

Is there any feasability to print the value of a local variable in the runtime & the value it has in the console.  (Like other programming languages for debugging)

  Discussion posts and replies are publicly visible