How to copy multiple lines of code into byebug?
问题 byebug doesn't seem to be able to handle multiple lines of code. Example I put byebug into the controller, and the next lines of code are (these could be anything, just an example here): payment_intent = Stripe::PaymentIntent.create({ payment_method_types: ['card'], amount: @amount_minor_unit, currency: @currency, application_fee_amount: 123, # STODO transfer_data: { destination: @star.stripe_account, }, }) But it does this: If the code is edited so it's on one single line, it succeeds: