QuickstartRun and DebugRun and Debug Build with line information to enable source mapping. Use CUDA profiler (Nsight) and CPU profilers. Inspect generated sources for troubleshooting. Common flags and environment variables.