I use these 4 lines of code (app.js) in each of my apps, so you can debug in VScode (remote) and then you don’t have any problems publishing the app
// Start debuger
if (process.env.DEBUG === “1”) {
require(“inspector”).open(9229, “0.0.0.0”, false);
//require(“inspector”).open(9229, “0.0.0.0”, true);
}