Skip to content

Commit 215f454

Browse files
committed
fix: allow hmr + debugBrk in order to support useLegacyWorkflow:false and --debug-brk
1 parent 1f1cce0 commit 215f454

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/commands/debug.ts

-4
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ export class DebugPlatformCommand extends ValidatePlatformCommandBase implements
6666
this.$errors.fail("--release flag is not applicable to this command");
6767
}
6868

69-
if (this.$options.hmr && this.$options.debugBrk) {
70-
this.$errors.fail("--debug-brk and --hmr flags cannot be combined");
71-
}
72-
7369
const minSupportedWebpackVersion = this.$options.hmr ? LiveSyncCommandHelper.MIN_SUPPORTED_WEBPACK_VERSION_WITH_HMR : null;
7470
this.$bundleValidatorHelper.validate(minSupportedWebpackVersion);
7571

0 commit comments

Comments
 (0)