diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2021-02-08 17:52:56 +0100 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2021-02-08 17:22:55 +0000 |
commit | e124ca962d20670d2f588352a129e73e72da099f (patch) | |
tree | b5de141cac8371e47ed22da060c469b88ee5f610 /src/plugins/debugger/breakpoint.cpp | |
parent | fa6d825c5f241a2da9e417e30debc92068c5e3a5 (diff) | |
download | qt-creator-e124ca962d20670d2f588352a129e73e72da099f.tar.gz |
Fix breakpoints not getting hit for .mjs files
Fixes: QTCREATORBUG-25328
Change-Id: I7e859fec62c7d0c3a34bd6a88e2c8a77c32fb932
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@qt.io>
Diffstat (limited to 'src/plugins/debugger/breakpoint.cpp')
-rw-r--r-- | src/plugins/debugger/breakpoint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |