MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Windows 10 setup (including VS Code debugging)

    Scheduled Pinned Locked Moved Tutorials
    6 Posts 4 Posters 5.3k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      aaronaxvig
      last edited by

      My launch.json file:

      {
          // Use IntelliSense to learn about possible Node.js debug attributes.
          // Hover to view descriptions of existing attributes.
          // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
          "version": "0.2.0",
          "configurations": [
              {
                  "name": "Launch",
                  "type": "node",
                  "request": "launch",
                  "program": "${workspaceRoot}\\js\\electron.js",
                  "stopOnEntry": false,
                  "args": [],
                  "cwd": "${workspaceRoot}",
                  "runtimeExecutable": "${workspaceRoot}\\node_modules\\.bin\\electron",
                  "runtimeArgs": [
                      ".",
                      "--enable-logging"
                  ],
                  "env": {},
                  "console": "integratedTerminal",
                  "sourceMaps": false,
                  "outDir": null
              },
              {
                  "name": "Attach",
                  "type": "node",
                  "request": "attach",
                  "port": 5858,
                  "sourceMaps": false,
                  "outDir": null
              }
          ]
      }
      
      R 1 Reply Last reply Reply Quote 0
      • S Offline
        schmo90
        last edited by

        do you know who it works with visual studio 2015?

        1 Reply Last reply Reply Quote 0
        • R Offline
          roramirez Core Contributors @aaronaxvig
          last edited by

          @aaronaxvig If you enable it to working. You can be add into a step in project for help to other users.

          Easy module development with MagicMirror Module Template

          1 Reply Last reply Reply Quote 0
          • A Offline
            aaronaxvig @aaronaxvig
            last edited by

            @aaronaxvig To run MagicMirror automatically on startup:

            1. Create a .bat file and put it in the startup folder (Windows Explorer > type “shell:startup” without quotes in the address bar).
            2. Set the contents of the bat file:

            cd your MagicMirror Git repository folder
            npm start

            1 Reply Last reply Reply Quote 0
            • J Offline
              jasong9872
              last edited by

              I created a forum account just to say THANK YOU! I was getting auth errors in the node_helper of my module that I could not trace using the browser side tools. Debugging the server side with VS Code got it fixed in 5 minutes flat!

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy