This template is for FRC robot code.
The project has several pre-made run configurations for your convenience. These configurations will be loaded automatically when you open the project.
To use a run configuration, select it from the configurations drop down box and click on run
Select the Robot Deploy
run configuration and click on run. This will build and deploy the code to the robot.
Select the Robot Deploy Debug
run configuration to deploy the code with debugger enabled.
To attach a debugger, after a successful deployment (i.e. wait for the deployment to finish successfully), select and run the RoboRIO Debugger
(run with debug, the bug button, not the run button).
Select the Simulate
run configuration and click on run. This will build and run the code in the simulator.
Select the Simulate Debug
run configuration and click on run. This will run the simulation with debugger enabled.
Once the console prints Listening for transport dt_socket at address
select and run the Simulation Debugger
run configuration (run with debug, the bug button, not the run button).
Note that doing all these will run two configuration simultaneously. This is fine, but when you wish to stop the simulation you will need to stop both the simulation and the debugger.