Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Debugging

Discussion in 'Project Tiny' started by LimLan, Dec 6, 2018.

  1. LimLan

    LimLan

    Joined:
    Dec 6, 2018
    Posts:
    4
    I can debug the js code in browsers, but do I have the ability to debug a project in VS Code or another IDE?
    How can I attach to the process?

    Thanks!
     
  2. raymondyunity

    raymondyunity

    Unity Technologies

    Joined:
    Apr 30, 2018
    Posts:
    122
    You may switch IDEs but as for attaching process, nope. If you are thinking like attaching into a Node.js project with VS code then that is unfortunately not supported.
     
  3. etienne_unity

    etienne_unity

    Unity Technologies

    Joined:
    Aug 31, 2017
    Posts:
    102
    eyworldwide likes this.
  4. robertg_unity

    robertg_unity

    Unity Technologies

    Joined:
    May 4, 2018
    Posts:
    32
    To add to what @etienne_unity said, you can also open the dev console in your favorite browser, and set breakpoints in linked source files.

    You can also press Pause in the Unity editor while in Play to get the current world state of your project reflected in the editor and inspect entities/components. This will only work if Play mode is enabled in the Tiny menu and if using Debug/Development configurations.
     
    MUGIK likes this.