We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44bf520 commit ee9e3aaCopy full SHA for ee9e3aa
1 file changed
app/javascript/controllers/application.js
@@ -3,7 +3,7 @@ import { Application } from "@hotwired/stimulus"
3
const application = Application.start()
4
5
// Configure Stimulus development experience
6
-application.debug = false
+application.debug = (process.env.NODE_ENV === 'development')
7
window.Stimulus = application
8
9
export { application }
0 commit comments