ionic-team / ionic-cli

The Ionic command-line interface
MIT License
2k stars 654 forks source link

Use --release flag with --livereload #3012

Open Nexeuz opened 6 years ago

Nexeuz commented 6 years ago

Description:

It's posible use chrome://inspect/#devices when --release flag is used?

I need debugging when flag --release is used but Chrome doesn't allow inspect when release flag is used.

Do you know alternatives for debugging?

Steps to Reproduce:

Example repo:

1. 2. 3.

Output:

My ionic info:

cli packages: (C:\Users\wwwni\AppData\Roaming\npm\node_modules)

@ionic/cli-utils  : 1.19.1
ionic (Ionic CLI) : 3.19.1

global packages:

cordova (Cordova CLI) : 7.0.1

local packages: @ionic/app-scripts : 3.1.8 Cordova Platforms : android 6.2.3 Ionic Framework : ionic-angular 3.9.2 System: Android SDK Tools : 26.1.1 Node : v6.11.0 npm : 4.2.0 OS : Windows 10

Environment Variables:

ANDROID_HOME : C:\Users\wwwni\AppData\Local\Android\sdk

Misc:

backend : pro

Other Information:

imhoffd commented 6 years ago

I'm able to use --release and --livereload and the debugger just fine. I'm confused as to what you want. Do you mean --prod?