@frank_qp For your script to run in debug you will need to encase your script with require(['N\type', N\anyOtherParametersYouUse], //your entire script here ); Although this is what you need to do for your script to run in 2.0, your script looks like 1.0 so you will need to select that in the debugger as well.