It is entirely up to your own code to decide where it places the window, the debugger has no way to affect it. So just write the code to get it on the second monitor. You left no bread-crumbs at all what language or GUI class library you use, the native CreateWindowEx() call takes an x and y argument for the desired position.
Keep in mind that your user will typically also find it useful that you re-open the window in the location where it was last used. So this isn't just beneficial to you. Simply record the window position when the user closes it in persistent storage, like a registry key or a file. And reload it when you create it again.