Go to Project => Project Settings

Under Display

Set window size to 288 x 512 (mobile dimensions)

Set Stretch mode to viewport