How to remote debug android app on chrome

I’m trying to use chrome on my windows machine to remote debug my cordova app on my Samsung Android phone. when I go to chrome://inspect/#devices I can see my phone, but my app isn’t listed. If I open Chrome on the device I can see that and inspect whatever URL I browse, but I still can’t see my app. what am I doing wrong?

I figured it out. I had to change the .json file to say “release”: “debug”. the weird thing is my app works correctly without changes under debug, but not under “release”: “release”. Grrrr.