You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I attach an external debugger (like VSCode) to debug a .js extension for Tiled I'm currently working?
The javascript "debugger" command also just shows "Unimplemented code" on the Tiled console. IMHO, it should pause the script execution so you can connect a debugger and continue in step-by-step.
The text was updated successfully, but these errors were encountered:
Unfortunately I think this is currently not possible. The only way I can find to debug JS code running in a QQmlEngine would be to use Qt Creator, compile Tiled yourself with "QML debugging and profiling" enabled, and then use the QML debugger in Qt Creator. However, I just tried to get this to work without success. See https://doc.qt.io/qtcreator/creator-debugging-qml.html if you want to try this yourself.
Otherwise, there is issue https://bugreports.qt.io/browse/QTBUG-55905 open about this kind of functionality, but it's been open for 5 years now so I don't expect such a solution to be implemented anytime soon. :-(
How can I attach an external debugger (like VSCode) to debug a .js extension for Tiled I'm currently working?
The javascript "debugger" command also just shows "Unimplemented code" on the Tiled console. IMHO, it should pause the script execution so you can connect a debugger and continue in step-by-step.
The text was updated successfully, but these errors were encountered: