I really want to jump all over CoreCLR. The new project structure, the merging of nuget into the build system, the automatic refreshing of solutions when the file system reports
The tooling doesn't have support for native debugging when running from VS. However, if you attach the debugger manually to the process, select both native and CoreClr (the option is in Debug -> Attach to Process) and you'll achieve what you want.
If you are using dnx
then you can pass the --debug
flag when the app starts, similar to this:
dnx --debug . run <args>
and it will wait for the native debugger to be attached.
PS: Caveat: if you pass --debug
you must attach a native debugger. You cannot attach only the managed one.