Quantcast
Viewing all articles
Browse latest Browse all 5661

[DART Plugin] breakpoint inside lib folder?

Hi,

 

My project is layouted as below:

 

// -----

 

>> In "bin" directory :

 

library gtsi_web;

import 'package:redstone/server.dart' as app;
import 'package:shelf_static/shelf_static.dart';

part '../lib/endpoints.dart';

main() {
app.setShelfHandler(createStaticHandler(env(ENV_BASEDIR_WEB), defaultDocument: "index.html", serveFilesOutsidePath: true));
app.setupConsoleLog();
app.start(port: 9090);
}

 

>> In "lib" directory:

 

part of gtsi_web;

@app.Route("/")
itWorks() => "It works!";

 

// -----

 

My content root is defined to: D:\NIO\dev\workspaces-idea\chicago\gtsi_web (below, there are bin/ and lib/ folders) without any exclusion.

 

Setting a breakpoint in endpoints.dart is not taken into account. Message: Error: Dart_SetBreakpoint: could not set breakpoint at line 4 in 'package:gtsi_web/endpoints.dart'

 

Any help appreciated.

Thanks.

 

Configuration info:

- IntelliJ IDEA 14.0.1 (Community)

- Dart plugin 139.231


Viewing all articles
Browse latest Browse all 5661


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>