Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
debug flag being ignored
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="rickhg12hs, post: 4524866"] I'm trying to run 'ruby -d foo.rb' and the d is either ignored or I don't "-d" sets $DEBUG to true. Does your code execute something when $DEBUG is true? For example: puts "Important intermediate value: #{my_critical_var}" if $DEBUG [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
debug flag being ignored
Top