You cannot really pass any parameter but there are alternative ways to check if you are running Monaca Preview or a Debug build.
During Monaca Preview execution, Cordova itself is not running. You can just check that and adapt your code consequently. Here you can find some examples.
For what concerns Debug builds, you can check it by using a Cordova Plugin like this one