From e124ca962d20670d2f588352a129e73e72da099f Mon Sep 17 00:00:00 2001 From: Maximilian Goldstein Date: Mon, 8 Feb 2021 17:52:56 +0100 Subject: Fix breakpoints not getting hit for .mjs files Fixes: QTCREATORBUG-25328 Change-Id: I7e859fec62c7d0c3a34bd6a88e2c8a77c32fb932 Reviewed-by: Fabian Kosmale Reviewed-by: Fawzi Mohamed --- src/plugins/debugger/breakpoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/debugger/breakpoint.cpp') diff --git a/src/plugins/debugger/breakpoint.cpp b/src/plugins/debugger/breakpoint.cpp index 998746302e..9d0e850c62 100644 --- a/src/plugins/debugger/breakpoint.cpp +++ b/src/plugins/debugger/breakpoint.cpp @@ -154,7 +154,7 @@ bool BreakpointParameters::isQmlFileAndLineBreakpoint() const QString qmlExtensionString = QString::fromLocal8Bit(qgetenv("QTC_QMLDEBUGGER_FILEEXTENSIONS")); if (qmlExtensionString.isEmpty()) - qmlExtensionString = ".qml;.js"; + qmlExtensionString = ".qml;.js;.mjs"; const auto qmlFileExtensions = qmlExtensionString.split(';', Qt::SkipEmptyParts); const QString file = fileName.toString(); -- cgit v1.2.1